change default sound for notification, add more sounds, make sound files smaller

This commit is contained in:
Martin Rotter 2021-08-18 10:24:56 +02:00
parent aa4e0d6813
commit 111ecfe487
5 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@
<file>sounds/boing.wav</file>
<file>sounds/rooster.wav</file>
<file>sounds/sheep.wav</file>
<file>sounds/doorbell.wav</file>
<file>sounds/notify.wav</file>
<file>scripts/adblock/adblock-server.js</file>
<file>scripts/public_suffix_list.dat</file>

BIN
resources/sounds/doorbell.wav Executable file

Binary file not shown.

BIN
resources/sounds/notify.wav Executable file

Binary file not shown.

Binary file not shown.

View File

@ -97,7 +97,7 @@ Application::Application(const QString& id, int& argc, char** argv)
m_notifications->save({
Notification(Notification::Event::GeneralEvent, true),
Notification(Notification::Event::NewUnreadArticlesFetched, true,
QSL("%1/rooster.wav").arg(SOUNDS_BUILTIN_DIRECTORY)),
QSL("%1/notify.wav").arg(SOUNDS_BUILTIN_DIRECTORY)),
Notification(Notification::Event::NewAppVersionAvailable, true),
Notification(Notification::Event::LoginFailure, true)
}, settings());