From 12ac784a41bb001f5b69f8a6f9a2e418ceb1d7ed Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 17 Aug 2019 12:17:09 +0200 Subject: [PATCH] Fix "Muted%" OSD message when muting sounds via a hotkey --- Source/Core/DolphinQt/HotkeyScheduler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp index 1fa4919ec7..4983634b64 100644 --- a/Source/Core/DolphinQt/HotkeyScheduler.cpp +++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp @@ -302,8 +302,7 @@ void HotkeyScheduler::Run() OSD::AddMessage(std::string("Volume: ") + (SConfig::GetInstance().m_IsMuted ? "Muted" : - std::to_string(SConfig::GetInstance().m_Volume)) + - "%"); + std::to_string(SConfig::GetInstance().m_Volume) + "%")); }; // Volume