diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-02-19 13:26:41 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-02-19 13:26:41 +0000 |
commit | ca4548562ef6213f0b1cf5cc3d633fd604b96844 (patch) | |
tree | 823f36f2a507f245dbd74dbaeff6de280e3c9a7e /x11-clocks/kdetoys4/files/patch-kweather-reportmain.cpp | |
parent | Fix: remove POE/Kernel/* from pkg-plist. (diff) |
Fix Kweather for !english users.
Obtained from: KDE CVS (via Frerich Raabe <raabe@kde.org>
Reported by: arved, Michael Nottebrock <michaelnottebrock@gmx.net>, many
Notes
Notes:
svn path=/head/; revision=75885
Diffstat (limited to '')
-rw-r--r-- | x11-clocks/kdetoys4/files/patch-kweather-reportmain.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-clocks/kdetoys4/files/patch-kweather-reportmain.cpp b/x11-clocks/kdetoys4/files/patch-kweather-reportmain.cpp new file mode 100644 index 000000000000..37e2737c4751 --- /dev/null +++ b/x11-clocks/kdetoys4/files/patch-kweather-reportmain.cpp @@ -0,0 +1,23 @@ +Index: reportmain.cpp +=================================================================== +RCS file: /home/kde/kdetoys/kweather/reportmain.cpp,v +retrieving revision 1.4 +retrieving revision 1.5 +diff -u -r1.4 -r1.5 +--- reportmain.cpp 9 Dec 2002 06:55:56 -0000 1.4 ++++ kweather/reportmain.cpp 24 Jan 2003 21:55:43 -0000 1.5 +@@ -1,4 +1,4 @@ +-/* $Id: reportmain.cpp,v 1.4 2002/12/09 06:55:56 mlaurent Exp $ */ ++/* $Id: reportmain.cpp,v 1.5 2003/01/24 21:55:43 cloose Exp $ */ + + #include <stdlib.h> + #include <kapplication.h> +@@ -27,7 +27,7 @@ + QCString appID = ""; + if (!client->isApplicationRegistered("kweatherservice")) + { +- if(KApplication::startServiceByName("kweatherservice",QStringList(), &error, &appID )) ++ if(KApplication::startServiceByDesktopName("kweatherservice",QStringList(), &error, &appID )) + { + kdDebug() << "Starting kweatherservice failed with message: " << error << endl; + exit(0); |