summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-05-26 19:22:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-05-26 19:23:05 +0200
commit5212264431238674d80649142d3186cbcc475aee (patch)
tree33f91045f3452506b740ce2343e0bb70e0a0c59c
parentab9e0b43832a5efede1a15592afa91d040a6afe5 (diff)
downloadtdebase-5212264431238674d80649142d3186cbcc475aee.tar.gz
tdebase-5212264431238674d80649142d3186cbcc475aee.zip
Reset states in kdesktop-lock if startSaver fails
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 030fad5fe4b89985781d4b17e8675361033dbc87)
-rw-r--r--kdesktop/lock/lockprocess.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index d1121a706..dbe0da500 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -580,6 +580,7 @@ bool LockProcess::defaultSave()
TQTimer::singleShot(mLockGrace, this, TQT_SLOT(startLock()));
return true;
}
+ mOverrideHackStartupEnabled = false;
return false;
}
@@ -709,6 +710,7 @@ bool LockProcess::runSecureDialog()
return true;
}
else {
+ mInSecureDialog = false;
return false;
}
}