From ccbe90d2026752d045129ed8cef89bde6d563405 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Mon, 5 Oct 2015 16:22:19 +0200 Subject: [PATCH] Fix logging --- src/plugins/backends/snore/snorenotifier.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/backends/snore/snorenotifier.cpp b/src/plugins/backends/snore/snorenotifier.cpp index 3844825..87c52af 100644 --- a/src/plugins/backends/snore/snorenotifier.cpp +++ b/src/plugins/backends/snore/snorenotifier.cpp @@ -94,7 +94,7 @@ void SnoreNotifier::slotNotify(Snore::Notification notification) } } m_queue.append(notification); - snoreDebug(SNORE_WARNING) << "queing" << m_queue.size(); + snoreDebug(SNORE_DEBUG) << "queing" << m_queue.size(); if (!m_timer->isActive()) { m_timer->start(); } @@ -109,14 +109,12 @@ void SnoreNotifier::slotCloseNotification(Snore::Notification notification) void SnoreNotifier::slotQueueTimeout() { - snoreDebug(SNORE_WARNING) << "queue" << m_queue.size(); if (m_queue.isEmpty()) { - // snoreDebug(SNORE_DEBUG) << "queue is empty"; + snoreDebug(SNORE_DEBUG) << "queue is empty"; m_timer->stop(); } else { for (NotifyWidget *w : m_widgets) { if (!m_queue.isEmpty() && w->acquire(m_queue.first().timeout())) { - snoreDebug(SNORE_WARNING) << "aquired " << w->id(); Notification notification = m_queue.takeFirst(); notification.hints().setPrivateValue(this, "id", w->id()); w->display(notification);