From d896b1f207741ce1240b6120f41237e3499268c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Sep 2012 12:39:13 +0200 Subject: [PATCH] Added default global shortcuts for kmix (cherry picked from commit edc41514713691769ed389a9e3854495a536fe96) --- kmix/kmix.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kmix/kmix.cpp b/kmix/kmix.cpp index 1b121335..e62471e1 100644 --- a/kmix/kmix.cpp +++ b/kmix/kmix.cpp @@ -121,11 +121,11 @@ KMixWindow::initActions() m_globalAccel = new KGlobalAccel( TQT_TQOBJECT(this) ); m_globalAccel->insert( "Increase volume", i18n( "Increase Volume of Master Channel"), TQString(), - KShortcut(), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( increaseVolume() ) ); + KShortcut(TQString("XF86AudioRaiseVolume")), KShortcut(TQString("XF86AudioRaiseVolume")), TQT_TQOBJECT(this), TQT_SLOT( increaseVolume() ) ); m_globalAccel->insert( "Decrease volume", i18n( "Decrease Volume of Master Channel"), TQString(), - KShortcut(), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( decreaseVolume() ) ); + KShortcut(TQString("XF86AudioLowerVolume")), KShortcut(TQString("XF86AudioLowerVolume")), TQT_TQOBJECT(this), TQT_SLOT( decreaseVolume() ) ); m_globalAccel->insert( "Toggle mute", i18n( "Toggle Mute of Master Channel"), TQString(), - KShortcut(), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( toggleMuted() ) ); + KShortcut(TQString("XF86AudioMute")), KShortcut(TQString("XF86AudioMute")), TQT_TQOBJECT(this), TQT_SLOT( toggleMuted() ) ); m_globalAccel->readSettings(); m_globalAccel->updateConnections();