mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kscreensaver: invalidate the active timer from KScreenSaver constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
318246ea2e
commit
c83ead32e0
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ KScreenSaver::KScreenSaver(QObject *parent)
|
|||
{
|
||||
(void)new ScreenSaverAdaptor(this);
|
||||
|
||||
m_activetimer.invalidate();
|
||||
|
||||
QDBusConnection connection = QDBusConnection::sessionBus();
|
||||
|
||||
const bool object = connection.registerObject("/ScreenSaver", this); // used by e.g. xdg-screensaver
|
||||
|
|
Loading…
Add table
Reference in a new issue