summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockprocess.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-25 23:36:23 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-25 23:36:23 -0500
commita9ad8717d1ba0ab71d6830e4fa237938cc7baedb (patch)
tree8a72d09b989c8e83bfb4e78e57691e946ec345f3 /kdesktop/lock/lockprocess.cc
parent94b4e33f89e7d4c10ac797e3eb0762a370eede8c (diff)
downloadtdebase-a9ad8717d1ba0ab71d6830e4fa237938cc7baedb.tar.gz
tdebase-a9ad8717d1ba0ab71d6830e4fa237938cc7baedb.zip
Fix logoff menu
Diffstat (limited to 'kdesktop/lock/lockprocess.cc')
-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 96c3b03da..479db1e6b 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