Qt: Implement missing settings

This commit is contained in:
spycrab
2017-06-21 10:26:06 +02:00
parent 94ba78d717
commit 15243093c4
3 changed files with 38 additions and 4 deletions

View File

@ -159,18 +159,18 @@ void HotkeyScheduler::Run()
if (IsHotkey(HK_EXIT))
emit ExitHotkey();
auto& settings = Settings::Instance();
// Volume
if (IsHotkey(HK_VOLUME_DOWN))
AudioCommon::DecreaseVolume(3);
settings.DecreaseVolume(3);
if (IsHotkey(HK_VOLUME_UP))
AudioCommon::IncreaseVolume(3);
settings.IncreaseVolume(3);
if (IsHotkey(HK_VOLUME_TOGGLE_MUTE))
AudioCommon::ToggleMuteVolume();
auto& settings = Settings::Instance();
// Wiimote
if (settings.IsBluetoothPassthroughEnabled())
{