[BUG 52147] Localized KWeather doesn't work

Christian Loose christian.loose at hamburg.de
Fri Jan 24 21:57:34 GMT 2003


Am Freitag, 24. Januar 2003 22:13 schrieb David Faure:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday 24 January 2003 19:47, Christian Loose wrote:
> > Hi everbody!
> >
> > KWeather doesn't work when it's run under a non-us locale like de. Now I
> > found out that klauncher doesn't start the DCOP weather service. KWeather
> > tells klauncher to start the service by using
> > KApplication::startServiceByName("KWeatherService",....);
>
> This is why you shouldn't use startServiceByName, but
> startServiceByDesktopName, to which you can pass kweatherservice.desktop or
> whatever the name of the desktop file is (which isn't supposed to change).
>
> - --
> David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se

Thanks David for the tip! 
I changed KWeather accordingly and it worked. 

grave bugs -= 1  :-)

Christian





More information about the kde-core-devel mailing list