diff options
author | Michele Calgaro <[email protected]> | 2016-03-13 16:50:36 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2016-03-13 16:51:41 +0100 |
commit | bcf8fa06f0c48612f14beb216521eea9c4957501 (patch) | |
tree | e89ee7463305e1e7a2367bb4e105da0f5a773e26 /src/autodimm.cpp | |
parent | 504511d4a5758ad54ee4650aa5a6ddc92e26bcb8 (diff) | |
download | tdepowersave-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.cpp | 6 |
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; |