diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-11-06 11:49:22 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-11-06 11:49:22 +0000 |
| commit | e0e3f778d7ac53098e2ed2d39ff538be3994d5db (patch) | |
| tree | 97a727294b2f83d4a69d3c7502bf6860d0b9f209 /src/plugins/General | |
| parent | 81a0b1c8b5be7affa71bccdd55ed90fa67863be7 (diff) | |
| download | qmmp-e0e3f778d7ac53098e2ed2d39ff538be3994d5db.tar.gz qmmp-e0e3f778d7ac53098e2ed2d39ff538be3994d5db.tar.bz2 qmmp-e0e3f778d7ac53098e2ed2d39ff538be3994d5db.zip | |
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
Diffstat (limited to 'src/plugins/General')
| -rw-r--r-- | src/plugins/General/hotkey/hotkeymanager_win.cpp | 5 | ||||
| -rw-r--r-- | src/plugins/General/hotkey/translations/hotkey_plugin_ru.ts | 2 |
2 files changed, 5 insertions, 2 deletions
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 @@ <message> <location filename="../settingsdialog.cpp" line="48"/> <source>Mute</source> - <translation type="unfinished"></translation> + <translation>Выключить звук</translation> </message> <message> <location filename="../settingsdialog.ui" line="14"/> |
