OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318246e
)
kscreensaver: invalidate the active timer from KScreenSaver constructor
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 2 May 2022 22:21:55 +0000
(
01:21
+0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 2 May 2022 22:22:06 +0000
(
01:22
+0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kscreensaver/kscreensaver.cpp
patch
|
blob
|
history
diff --git
a/kscreensaver/kscreensaver.cpp
b/kscreensaver/kscreensaver.cpp
index
eb36716
..
4ab5cdc
100644
(file)
--- a/
kscreensaver/kscreensaver.cpp
+++ b/
kscreensaver/kscreensaver.cpp
@@
-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