[plasma-mobile/Active/1.0] shell: fix the app name to "plasma-device"
Marco Martin
notmart at gmail.com
Wed Oct 12 14:53:24 UTC 2011
Git commit 776d47ec4296c01cec4c875dd47c096b57819def by Marco Martin.
Committed on 12/10/2011 at 16:53.
Pushed by mart into branch 'Active/1.0'.
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/776d47ec4296c01cec4c875dd47c096b57819def
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