reduce log
This commit is contained in:
parent
006a2462df
commit
5ed87306d9
|
@ -157,7 +157,6 @@ void Notification::addActiveIn(const QObject *o)
|
|||
}
|
||||
d->m_activeIn.insert(o);
|
||||
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();
|
||||
}
|
||||
|
||||
|
@ -169,7 +168,6 @@ bool Notification::isActiveIn(const QObject *o) const
|
|||
bool Notification::removeActiveIn(const QObject *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()) {
|
||||
SnoreCorePrivate::instance()->m_activeNotifications.remove(id());
|
||||
snoreDebug(SNORE_INFO) << SnoreCorePrivate::instance()->m_activeNotifications.size();
|
||||
|
|
Loading…
Reference in New Issue