mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Ref T494, CNotificationSounds refactring
* use Q_DECLARE_FLAGS NotificationFlag/Notification for sounds, not the weird version from very early swift days * splt into h/cpp files * added new sounds
This commit is contained in:
committed by
Mat Sutcliffe
parent
dc8ea83839
commit
f8c17e10e8
@@ -443,7 +443,7 @@ void SwiftGuiStd::checkDbDataLoaded()
|
||||
m_dbLoadDialog->newerOrEmptyEntitiesDetected(loadEntities);
|
||||
}
|
||||
|
||||
void SwiftGuiStd::playNotifcationSound(CNotificationSounds::Notification notification) const
|
||||
void SwiftGuiStd::playNotifcationSound(CNotificationSounds::NotificationFlag notification) const
|
||||
{
|
||||
if (!m_contextAudioAvailable) { return; }
|
||||
if (!ui->comp_MainInfoArea->getSettingsComponent()->playNotificationSounds()) { return; }
|
||||
|
||||
Reference in New Issue
Block a user