reduce log

This commit is contained in:
Patrick von Reth 2015-07-29 16:10:57 +02:00
parent 006a2462df
commit 5ed87306d9
1 changed files with 0 additions and 2 deletions

View File

@ -157,7 +157,6 @@ void Notification::addActiveIn(const QObject *o)
} }
d->m_activeIn.insert(o); d->m_activeIn.insert(o);
SnoreCorePrivate::instance()->m_activeNotifications[id()] = *this; SnoreCorePrivate::instance()->m_activeNotifications[id()] = *this;
snoreDebug(SNORE_INFO) << d->m_activeIn.size() << o << qobject_cast<SnorePlugin *>(o);
snoreDebug(SNORE_INFO) << SnoreCorePrivate::instance()->m_activeNotifications.size(); snoreDebug(SNORE_INFO) << SnoreCorePrivate::instance()->m_activeNotifications.size();
} }
@ -169,7 +168,6 @@ bool Notification::isActiveIn(const QObject *o) const
bool Notification::removeActiveIn(const QObject *o) bool Notification::removeActiveIn(const QObject *o)
{ {
bool out = d->m_activeIn.remove(o); bool out = d->m_activeIn.remove(o);
snoreDebug(SNORE_INFO) << d->m_activeIn.size() << o << qobject_cast<SnorePlugin *>(o);
if (d->m_activeIn.isEmpty()) { if (d->m_activeIn.isEmpty()) {
SnoreCorePrivate::instance()->m_activeNotifications.remove(id()); SnoreCorePrivate::instance()->m_activeNotifications.remove(id());
snoreDebug(SNORE_INFO) << SnoreCorePrivate::instance()->m_activeNotifications.size(); snoreDebug(SNORE_INFO) << SnoreCorePrivate::instance()->m_activeNotifications.size();