summaryrefslogtreecommitdiffstats
path: root/src/autosuspend.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2016-03-13 16:50:36 +0100
committerMichele Calgaro <[email protected]>2016-03-13 16:51:41 +0100
commitbcf8fa06f0c48612f14beb216521eea9c4957501 (patch)
treee89ee7463305e1e7a2367bb4e105da0f5a773e26 /src/autosuspend.cpp
parent504511d4a5758ad54ee4650aa5a6ddc92e26bcb8 (diff)
downloadtdepowersave-bcf8fa06f0c48612f14beb216521eea9c4957501.tar.gz
tdepowersave-bcf8fa06f0c48612f14beb216521eea9c4957501.zip
Fixed up timer for autosuspend and autodimm when a screensaver is also in use. This resolves bug 2603.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d67bc99f08c6ba9113a769c45538ab3711cc1cfa)
Diffstat (limited to 'src/autosuspend.cpp')
-rw-r--r--src/autosuspend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autosuspend.cpp b/src/autosuspend.cpp
index a46a93c..01372ba 100644
--- a/src/autosuspend.cpp
+++ b/src/autosuspend.cpp
@@ -18,7 +18,7 @@
***************************************************************************/
/*! \file autosuspend.cpp
- * \brief In this file can be found the autosuspend related code.
+ * \brief In this file can be found the autosuspend related code.
* \author Danny Kukawka, <[email protected]>, <[email protected]>
* \date 2005
*/
@@ -26,7 +26,7 @@
#include "autosuspend.h"
/*! The default constructor of the class autosuspend */
-autosuspend::autosuspend() : inactivity () {
+autosuspend::autosuspend(screen *disp) : inactivity (disp) {
kdDebugFuncIn(trace);
}