replaced qwarning
This commit is contained in:
parent
48ec634993
commit
1b223fbb82
|
@ -53,5 +53,4 @@ private:
|
|||
#define SNORE_DEBUG 3
|
||||
#define SNORE_INFO 2
|
||||
#define SNORE_WARNING 1
|
||||
#define SNORE_LOG 0
|
||||
#endif // LOG_H
|
||||
|
|
|
@ -79,7 +79,7 @@ void SnoreBackend::closeNotification(Notification n, NotificationEnums::CloseRea
|
|||
{
|
||||
if(!n.isValid())
|
||||
{
|
||||
qWarning() << "Closing a notification a second time, this should not heappen";
|
||||
snoreDebug( SNORE_WARNING ) << "Closing a notification a second time, this should not heappen";
|
||||
return;
|
||||
}
|
||||
if(m_activeNotifications.contains(n.id()))
|
||||
|
|
|
@ -58,7 +58,7 @@ bool Growl::initialize(SnoreCore *snore)
|
|||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
qWarning() << e.what();
|
||||
snoreDebug( SNORE_WARNING ) << e.what();
|
||||
delete m_defaultGNTP;
|
||||
m_defaultGNTP = NULL;
|
||||
return false;
|
||||
|
@ -100,7 +100,7 @@ void Growl::slotRegisterApplication(const Application &application)
|
|||
growl->regist(alerts);
|
||||
}catch(const std::exception& e)
|
||||
{
|
||||
qWarning() << e.what();
|
||||
snoreDebug( SNORE_WARNING ) << e.what();
|
||||
}
|
||||
m_applications.insert(application.name(),growl);
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ void Growl::slotNotify(Notification notification)
|
|||
}
|
||||
catch(const std::exception& e)
|
||||
{
|
||||
qWarning() << e.what();
|
||||
snoreDebug( SNORE_WARNING ) << e.what();
|
||||
}
|
||||
startTimeout(notification);
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ void SnoreToast::slotToastNotificationClosed(int code, QProcess::ExitStatus)
|
|||
break;
|
||||
case -1:
|
||||
//failed
|
||||
qWarning() << "SnoreToast failed to display " << n << p->readAll();
|
||||
snoreDebug( SNORE_WARNING ) << "SnoreToast failed to display " << n << p->readAll();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue