mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Added value for notification volume in sound setting
This commit is contained in:
@@ -467,7 +467,7 @@ namespace BlackGui
|
||||
|
||||
// sound
|
||||
const bool playSound = !m_usedAsOverlayWidget && sGui && !sGui->isShuttingDown() && sGui->getIContextAudio();
|
||||
if (playSound)
|
||||
if (sGui && sGui->getIContextAudio() && playSound)
|
||||
{
|
||||
const CSettings settings = m_audioSettings.get();
|
||||
if (textMessage.isSupervisorMessage() && settings.textMessageSupervisor())
|
||||
|
||||
Reference in New Issue
Block a user