From e92c84e1180a1c21fc362a032323355db1018e99 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Wed, 24 Jul 2013 15:28:09 +0200 Subject: [PATCH] small change to deamon --- src/snorenotify.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/snorenotify.cpp b/src/snorenotify.cpp index 72aa39a..8d41ceb 100644 --- a/src/snorenotify.cpp +++ b/src/snorenotify.cpp @@ -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 {