From ef8a06f4cf720e293534d591069c4c4295dd21a1 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 27 Sep 2014 15:30:28 +0200 Subject: do not show notification count if it's 1 --- src/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/controller.cpp b/src/controller.cpp index ad85183..0f0fb1a 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -233,7 +233,7 @@ void Controller::handleIncomingNotification(const QString &sender, const QIcon & QString title = summary; bool title_drawn_fully = false; - if (count > 0) { + if (count > 1) { title = QString("%1 %2").arg(count).arg(summary); } -- cgit v1.2.3