mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
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…
x
Reference in New Issue
Block a user