From e0e3f778d7ac53098e2ed2d39ff538be3994d5db Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 6 Nov 2013 11:49:22 +0000 Subject: hotkey plugin: fixed windows support, fixed Russian translation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3875 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/hotkey/hotkeymanager_win.cpp | 5 ++++- src/plugins/General/hotkey/translations/hotkey_plugin_ru.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plugins/General/hotkey/hotkeymanager_win.cpp b/src/plugins/General/hotkey/hotkeymanager_win.cpp index ea0b95870..cb6e96e5e 100644 --- a/src/plugins/General/hotkey/hotkeymanager_win.cpp +++ b/src/plugins/General/hotkey/hotkeymanager_win.cpp @@ -57,6 +57,7 @@ quint32 Hotkey::defaultKey(int act) keyMap[FORWARD] = 0; keyMap[REWIND] = 0; keyMap[JUMP_TO_TRACK] = 0; + keyMap[VOLUME_MUTE] = 0; return keyMap[act]; } @@ -144,7 +145,9 @@ public: case Hotkey::JUMP_TO_TRACK: UiHelper::instance()->jumpToTrack(); break; - + case Hotkey::VOLUME_MUTE: + SoundCore::instance()->setMuted(!SoundCore::instance()->isMuted()); + break; } qApp->processEvents(); return true; diff --git a/src/plugins/General/hotkey/translations/hotkey_plugin_ru.ts b/src/plugins/General/hotkey/translations/hotkey_plugin_ru.ts index 7de9d398c..4eb058b23 100644 --- a/src/plugins/General/hotkey/translations/hotkey_plugin_ru.ts +++ b/src/plugins/General/hotkey/translations/hotkey_plugin_ru.ts @@ -112,7 +112,7 @@ Mute - + Выключить звук -- cgit v1.2.3-13-gbd6f