diff options
| -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"/> |
