summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-25 23:36:23 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:27:13 +0200
commit869b1d5bf8c67fca6f32ce4f423632c497229ceb (patch)
treef529df1b5a16e3dadf869f652800031898b5857f
parentbb71d64921715db3b8622250bbe94265f6e3eea3 (diff)
downloadtdebase-869b1d5bf8c67fca6f32ce4f423632c497229ceb.tar.gz
tdebase-869b1d5bf8c67fca6f32ce4f423632c497229ceb.zip
Fix logoff menu
(cherry picked from commit a9ad8717d1ba0ab71d6830e4fa237938cc7baedb)
-rw-r--r--kdesktop/lock/lockprocess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index 5fe29a87d..327012abc 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -698,7 +698,7 @@ void LockProcess::startSecureDialog()
}
if (ret == 3) {
trinity_desktop_lock_closing_windows = 1;
- DCOPRef("ksmserver","ksmserver").send("logout", -1, 0, 1);
+ DCOPRef("ksmserver","ksmserver").send("logout", (int)KApplication::ShutdownConfirmYes, (int)KApplication::ShutdownTypeNone, (int)KApplication::ShutdownModeInteractive);
kapp->quit();
}
// FIXME