Ref T491, style/minor tweaks

This commit is contained in:
Klaus Basan
2018-12-30 04:12:56 +01:00
committed by Mat Sutcliffe
parent e810dfecf5
commit 03ac54cefa
3 changed files with 3 additions and 2 deletions

View File

@@ -447,6 +447,7 @@ void SwiftGuiStd::playNotifcationSound(CNotificationSounds::Notification notific
{
if (!m_contextAudioAvailable) { return; }
if (!ui->comp_MainInfoArea->getSettingsComponent()->playNotificationSounds()) { return; }
if (!sGui || sGui->isShuttingDown()) { return; }
sGui->getIContextAudio()->playNotification(notification, true);
}