From bbae7554f1dcb98d94bd73ec9bce07f0e99e21d0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 12 Jan 2013 14:06:37 -0600 Subject: Add keyboard shortcut to start screensaver directly --- kdesktop/kdesktopbindings.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kdesktop/kdesktopbindings.cpp') diff --git a/kdesktop/kdesktopbindings.cpp b/kdesktop/kdesktopbindings.cpp index ad166aab4..86dea3466 100644 --- a/kdesktop/kdesktopbindings.cpp +++ b/kdesktop/kdesktopbindings.cpp @@ -29,6 +29,12 @@ { #endif DEF2( I18N_NOOP("Lock Session"), ALT+CTRL+Qt::Key_L, WIN+Qt::Key_ScrollLock, KRootWm::self(), TQT_SLOT(slotLock()) ); +#ifndef NOSLOTS + } + if (kapp->authorize("start_screensaver")) + { +#endif + DEF2( I18N_NOOP("Start Screen Saver"), ALT+CTRL+Qt::Key_S, WIN+Qt::Key_S, KRootWm::self(), TQT_SLOT(slotSave()) ); #ifndef NOSLOTS } if (kapp->authorize("logout")) -- cgit v1.2.1