summaryrefslogtreecommitdiffstats
path: root/src/autodimm.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-03-13 16:50:36 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-03-13 16:50:36 +0100
commitd67bc99f08c6ba9113a769c45538ab3711cc1cfa (patch)
treea288b1a17230f7fa4a1e759d2455c2a43a4c984d /src/autodimm.cpp
parent2f0cf5202c83fe9d034dc3254e8db127f5bdffe3 (diff)
downloadtdepowersave-d67bc99f08c6ba9113a769c45538ab3711cc1cfa.tar.gz
tdepowersave-d67bc99f08c6ba9113a769c45538ab3711cc1cfa.zip
Fixed up timer for autosuspend and autodimm when a screensaver is also in use. This resolves bug 2603.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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, <dkukawka@suse.de>, <danny.kukawka@web.de>
* \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;