use fallback also on linux

This commit is contained in:
Patrick von Reth 2014-02-18 15:27:02 +01:00
parent 2ec527507f
commit c035742265

View File

@ -194,9 +194,15 @@ bool SnoreCore::setPrimaryNotificationBackend()
return true;
}
#elif defined(Q_OS_LINUX)
return d->setBackendIfAvailible("FreedesktopNotification");
if(d->setBackendIfAvailible("FreedesktopNotification"))
{
return true;
}
#elif defined(Q_OS_MAC)
return d->setBackendIfAvailible("Growl");
if(d->setBackendIfAvailible("Growl"))
{
return true;
}
#endif
if(d->setBackendIfAvailible("Snore"))
{