[plasma-mobile] shell: fix the app name to "plasma-device"
Marco Martin
notmart at gmail.com
Wed Oct 19 12:38:50 UTC 2011
Git commit b48a2914bb20a817fc8c1e0c453e97a7ab497733 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/b48a2914bb20a817fc8c1e0c453e97a7ab497733
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