From 617f81b19c0986c7a71a40ae9daaf18679606b96 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Thu, 7 Jan 2016 15:30:44 +0100 Subject: Remove unnecessary comparison for boolean. --- daemon/notificationmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/notificationmanager.cpp b/daemon/notificationmanager.cpp index f123c23..26c44e4 100644 --- a/daemon/notificationmanager.cpp +++ b/daemon/notificationmanager.cpp @@ -116,7 +116,7 @@ uint NotificationManager::Notify(const QString &app_name, uint replaces_id, cons QString owner = hints.value("x-nemo-owner", "none").toString(); // Ignore transient notifcations - if (hints.value("transient", false).toBool() == true) { + if (hints.value("transient", false).toBool()) { qCDebug(l) << "Ignoring transient notification from " << owner; return 0; } -- cgit v1.2.3