summaryrefslogtreecommitdiffstats
path: root/src/autodimm.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/autodimm.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/autodimm.cpp')
-rw-r--r--src/autodimm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/autodimm.cpp b/src/autodimm.cpp
index 4e2967f..e797e61 100644
--- a/src/autodimm.cpp
+++ b/src/autodimm.cpp
@@ -18,7 +18,7 @@
***************************************************************************/
/*! \file autodimm.cpp
- * \brief In this file can be found the autodimm class related code.
+ * \brief In this file can be found the autodimm class related code.
* \author Danny Kukawka, <[email protected]>, <[email protected]>
* \version 0.0.1
* \date 2007
@@ -27,8 +27,8 @@
#include "autodimm.h"
/*! The default constructor of the class autodimm */
-autodimm::autodimm() : inactivity() {
- kdDebugFuncIn(trace);
+autodimm::autodimm(screen *disp) : inactivity(disp) {
+ kdDebugFuncIn(trace);
lastIdleTime = 0;