[plasma-mobile] shell: fix the app name to "plasma-device"

Marco Martin notmart at gmail.com
Wed Oct 12 14:53:24 UTC 2011


Git commit 9e27e0108732f594e1d33c3e9cb874be9f7094e5 by Marco Martin.
Committed on 12/10/2011 at 16:53.
Pushed by mart into branch 'master'.

fix the app name to "plasma-device"

it was using argv[0] meaning that was trying to use the full path as dbus service name, failing
was the reason it wasn't autorestarted after a crash
CCMAIL:active at kde.org

M  +1    -1    shell/main.cpp

http://commits.kde.org/plasma-mobile/9e27e0108732f594e1d33c3e9cb874be9f7094e5

diff --git a/shell/main.cpp b/shell/main.cpp
index 14faecb..b06ab11 100644
--- a/shell/main.cpp
+++ b/shell/main.cpp
@@ -34,7 +34,7 @@ static const char version[] = "1.0";
 extern "C"
 KDE_EXPORT int kdemain(int argc, char **argv)
 {
-    KAboutData aboutData(argv[0], 0, ki18n("Plasma Workspace"),
+    KAboutData aboutData("plasma-device", 0, ki18n("Plasma Workspace"),
                          version, ki18n(description), KAboutData::License_GPL,
                          ki18n("Copyright 2006-2009, The KDE Team"));
     aboutData.addAuthor(ki18n("Alexis Menard"),


More information about the Active mailing list