mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-10 07:26:22 +00:00
small change to deamon
This commit is contained in:
parent
43aac4cfc6
commit
e92c84e118
@ -46,6 +46,7 @@ SnoreNotify::SnoreNotify():
|
||||
m_trayIcon->initConextMenu(m_snore);
|
||||
|
||||
connect(qApp,SIGNAL(aboutToQuit()),this,SLOT(exit()));
|
||||
qDebug() << "Snorenotfiy initialized with" << m_snore->primaryNotificationBackend();
|
||||
}
|
||||
|
||||
SnoreNotify::~SnoreNotify(){
|
||||
@ -56,7 +57,7 @@ SnoreNotify::~SnoreNotify(){
|
||||
void SnoreNotify::load(){
|
||||
if(m_settings.contains("notificationBackend"))
|
||||
{
|
||||
m_snore->setPrimaryNotificationBackend(m_settings.value("notificationBackend","SystemTray").toString());
|
||||
m_snore->setPrimaryNotificationBackend(m_settings.value("notificationBackend").toString());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user