From a9ad8717d1ba0ab71d6830e4fa237938cc7baedb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 25 Apr 2012 23:36:23 -0500 Subject: Fix logoff menu --- kdesktop/lock/lockprocess.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdesktop') 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 -- cgit v1.2.1