author | harlekin <harlekin> | 2002-10-23 22:48:00 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-23 22:48:00 (UTC) |
commit | 2e08979f61e2008fed1a9deca6f3995795ef46e4 (patch) (unidiff) | |
tree | 1cba694f8855819f338e75be1f374ca00156cb70 | |
parent | 12c59f8b81dc83ec3a5b71f31dcdfeb9ba7d3002 (diff) | |
download | opie-2e08979f61e2008fed1a9deca6f3995795ef46e4.zip opie-2e08979f61e2008fed1a9deca6f3995795ef46e4.tar.gz opie-2e08979f61e2008fed1a9deca6f3995795ef46e4.tar.bz2 |
load ac settings on startup
-rw-r--r-- | core/launcher/desktop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 986ae5d..2ea6d27 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp | |||
@@ -310,16 +310,17 @@ public: | |||
310 | QWSServer::setScreenSaverInterval( 0 ); | 310 | QWSServer::setScreenSaverInterval( 0 ); |
311 | else | 311 | else |
312 | QWSServer::setScreenSaverIntervals( v ); | 312 | QWSServer::setScreenSaverIntervals( v ); |
313 | } | 313 | } |
314 | 314 | ||
315 | void setInterval ( int interval ) | 315 | void setInterval ( int interval ) |
316 | { | 316 | { |
317 | setIntervals ( -1, -1, interval ); | 317 | setIntervals ( -1, -1, interval ); |
318 | setIntervalsAC ( -1, -1, interval ); | ||
318 | } | 319 | } |
319 | 320 | ||
320 | void setMode ( int mode ) | 321 | void setMode ( int mode ) |
321 | { | 322 | { |
322 | if ( mode > m_disable_suspend ) | 323 | if ( mode > m_disable_suspend ) |
323 | setInterval( -1 ); | 324 | setInterval( -1 ); |
324 | m_disable_suspend = mode; | 325 | m_disable_suspend = mode; |
325 | } | 326 | } |