author | harlekin <harlekin> | 2002-10-23 22:00:05 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-23 22:00:05 (UTC) |
commit | f5ee7b6584fe8c6e03494a241e30854cd658bb71 (patch) (side-by-side diff) | |
tree | 4b0a8769cc8fc82813802f75316f24a069489431 | |
parent | 3c9835537b2fdccab4c0f720a4d77a98ad8bba10 (diff) | |
download | opie-f5ee7b6584fe8c6e03494a241e30854cd658bb71.zip opie-f5ee7b6584fe8c6e03494a241e30854cd658bb71.tar.gz opie-f5ee7b6584fe8c6e03494a241e30854cd658bb71.tar.bz2 |
update
-rw-r--r-- | core/launcher/desktop.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 33bea36..c4c6050 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -23,3 +23,2 @@ #include "launcher.h" -//#include "mrulist.h" #include "qcopbridge.h" @@ -171,2 +170,3 @@ public: m_enable_onlylcdoff_ac = false; + m_disable_apm_ac = false; @@ -217,2 +217,6 @@ public: case 2: + if ( m_disable_apm_ac && onAC ) { + return true; + } + if ( m_enable_onlylcdoff_ac && onAC ) { @@ -302,2 +306,3 @@ public: m_enable_onlylcdoff_ac = config.readNumEntry ( "LcdOffOnlyAC", 0 ); + m_disable_apm_ac = config.readNumEntry ( "NoApmAC", 0 ); @@ -374,2 +379,3 @@ private: bool m_enable_onlylcdoff_ac; + bool m_disable_apm_ac; |