Added value for notification volume in sound setting

This commit is contained in:
Klaus Basan
2019-04-30 12:32:54 +02:00
parent 9a3ef1e82e
commit a764a2de7e
4 changed files with 24 additions and 5 deletions

View File

@@ -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())