mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-13 00:46:26 +00:00
Style
This commit is contained in:
parent
9adfebd339
commit
c9ff3f1f6f
@ -288,7 +288,8 @@ private:
|
||||
friend class NotificationData;
|
||||
};
|
||||
|
||||
inline bool Notification::operator ==(const Notification &other){
|
||||
inline bool Notification::operator ==(const Notification &other)
|
||||
{
|
||||
return id() == other.id();
|
||||
}
|
||||
|
||||
|
@ -189,7 +189,7 @@ void SnoreCore::requestCloseNotification(Notification n, Notification::CloseReas
|
||||
{
|
||||
Q_D(SnoreCore);
|
||||
bool wasQued = d->m_notificationQue.removeOne(n);
|
||||
if(wasQued){
|
||||
if (wasQued) {
|
||||
snoreDebug(SNORE_DEBUG) << n << " was qued.";
|
||||
}
|
||||
if (!wasQued && d->m_notificationBackend) {
|
||||
|
@ -95,7 +95,7 @@ void SnoreNotifier::slotNotify(Snore::Notification notification)
|
||||
}
|
||||
m_queue.append(notification);
|
||||
snoreDebug(SNORE_WARNING) << "queing" << m_queue.size();
|
||||
if(!m_timer->isActive()){
|
||||
if (!m_timer->isActive()) {
|
||||
m_timer->start();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user