summaryrefslogtreecommitdiffstats
path: root/src/autosuspend.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/autosuspend.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/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, <dkukawka@suse.de>, <danny.kukawka@web.de>
* \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);
}