mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-10 16:45:56 +00:00
use fallback also on linux
This commit is contained in:
parent
2ec527507f
commit
c035742265
@ -194,9 +194,15 @@ bool SnoreCore::setPrimaryNotificationBackend()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#elif defined(Q_OS_LINUX)
|
#elif defined(Q_OS_LINUX)
|
||||||
return d->setBackendIfAvailible("FreedesktopNotification");
|
if(d->setBackendIfAvailible("FreedesktopNotification"))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
#elif defined(Q_OS_MAC)
|
#elif defined(Q_OS_MAC)
|
||||||
return d->setBackendIfAvailible("Growl");
|
if(d->setBackendIfAvailible("Growl"))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if(d->setBackendIfAvailible("Snore"))
|
if(d->setBackendIfAvailible("Snore"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user