From bcf8fa06f0c48612f14beb216521eea9c4957501 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 13 Mar 2016 16:50:36 +0100 Subject: Fixed up timer for autosuspend and autodimm when a screensaver is also in use. This resolves bug 2603. Signed-off-by: Michele Calgaro (cherry picked from commit d67bc99f08c6ba9113a769c45538ab3711cc1cfa) --- src/autosuspend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/autosuspend.cpp') 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, , * \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); } -- cgit v1.2.1