Commit 0ddd2048 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Notifications KCM: X-GNOME-UsesNotifications is a bool


(cherry picked from commit 27ff1d74)
parent 17296a9e
Pipeline #237156 passed with stage
in 14 minutes and 54 seconds
......@@ -310,9 +310,7 @@ void SourcesModel::load()
return false;
}
const QString usesNotis = app->property(QStringLiteral("X-GNOME-UsesNotifications")).toString();
if (usesNotis.compare(QLatin1String("true"), Qt::CaseInsensitive) != 0) {
if (!app->property(QStringLiteral("X-GNOME-UsesNotifications")).toBool()) {
return false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment