summaryrefslogtreecommitdiffstats
path: root/kdesktop/kdesktopbindings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-12 14:06:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-12 14:06:37 -0600
commitbbae7554f1dcb98d94bd73ec9bce07f0e99e21d0 (patch)
tree608abf6c3e5d78f3deb9357d9a91b4b61b85cc59 /kdesktop/kdesktopbindings.cpp
parent261c0e1f6b9a69442520936ef7f91e1eac9f9514 (diff)
downloadtdebase-bbae7554f1dcb98d94bd73ec9bce07f0e99e21d0.tar.gz
tdebase-bbae7554f1dcb98d94bd73ec9bce07f0e99e21d0.zip
Add keyboard shortcut to start screensaver directly
Diffstat (limited to 'kdesktop/kdesktopbindings.cpp')
-rw-r--r--kdesktop/kdesktopbindings.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdesktop/kdesktopbindings.cpp b/kdesktop/kdesktopbindings.cpp
index ad166aab4..86dea3466 100644
--- a/kdesktop/kdesktopbindings.cpp
+++ b/kdesktop/kdesktopbindings.cpp
@@ -31,6 +31,12 @@
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"))
{
#endif