From fdd8ffc4186cbfe610a78a01766d84ff3574160e Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Sun, 15 Mar 2015 21:09:02 +0530 Subject: [PATCH] Set QGuiApplication::applicationDisplayName() too Notifications dataengine checks the applicationDisplayName() against the event title and if it same it allows to 'spam' aka it will not merge similar notifications. But when we started to use KAboutData this broke functionality. KAboutData will set only properties available in QCoreApplication and hence applicationDisplayName will be different. This fixes it by setting applicationDisplayName. BUG: 345149 FIXED-IN: 5.2.2 --- shell/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/main.cpp b/shell/main.cpp index a4518ce6c..094c117ee 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -55,6 +55,7 @@ int main(int argc, char *argv[]) KAboutData::setApplicationData(aboutData); + app.setApplicationDisplayName(i18n("Plasma")); app.setQuitOnLastWindowClosed(false); app.setWindowIcon(QIcon::fromTheme("plasma"));