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:
d83283c
)
kscreensaver: correct variable initialization
author
Ivailo Monev
<xakepa10@gmail.com>
Thu, 28 Apr 2022 05:52:11 +0000
(08:52 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Thu, 28 Apr 2022 05:52:11 +0000
(08:52 +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
3da5b58
..
e1db1fb
100644
(file)
--- a/
kscreensaver/kscreensaver.cpp
+++ b/
kscreensaver/kscreensaver.cpp
@@
-165,7
+165,7
@@
void KScreenSaver::Lock()
bool KScreenSaver::SetActive(bool active)
{
// qDebug() << Q_FUNC_INFO << active;
- int xscreensaverstatus =
false
;
+ int xscreensaverstatus =
1
;
if (active) {
xscreensaverstatus = QProcess::execute(
QString::fromLatin1("xscreensaver-command"),