small change to deamon

This commit is contained in:
Patrick von Reth 2013-07-24 15:28:09 +02:00
parent 43aac4cfc6
commit e92c84e118
1 changed files with 2 additions and 1 deletions

View File

@ -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
{