summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2016-01-07 15:30:44 +0100
committerAndrew Branson <andrew.branson@cern.ch>2016-01-07 15:30:44 +0100
commit617f81b19c0986c7a71a40ae9daaf18679606b96 (patch)
tree9ba27e120e74ef01b514483ee2816d0361005df6
parent7106d7af712cfbacc965747646138cf346547f0d (diff)
Remove unnecessary comparison for boolean.
-rw-r--r--daemon/notificationmanager.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}