Summary: | kdetoys/kweather/weatherservice.cpp doesn't compile on Solaris | ||
---|---|---|---|
Product: | [Unmaintained] kweather-kde3 | Reporter: | Torsten Kasch <tk> |
Component: | general | Assignee: | geiseri |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch for kdetoys/kweather/weatherservice.cpp |
Description
Torsten Kasch
2003-12-20 22:54:54 UTC
Created attachment 3802 [details]
patch for kdetoys/kweather/weatherservice.cpp
Applying the attached patch resolved this issue for me.
Subject: kdetoys/kweather CVS commit by mueller: sun is preprocessor #define on sunos CCMAIL: 70942-done@bugs.kde.org M +5 -5 weatherservice.cpp 1.30 --- kdetoys/kweather/weatherservice.cpp #1.29:1.30 @@ -233,10 +233,10 @@ QStringList WeatherService::findStations QString WeatherService::sunRiseTime(const QString &stationID) { - Sun sun; + Sun thesun; QString latitude = stationDB->stationLatitudeFromID(stationID); QString longitude = stationDB->stationLongitudeFromID(stationID); - QTime rise_time = sun.computeRiseTime(latitude, longitude); + QTime rise_time = thesun.computeRiseTime(latitude, longitude); kdDebug(12006) << "rise time: " << rise_time << endl; @@ -247,10 +247,10 @@ QString WeatherService::sunRiseTime(cons QString WeatherService::sunSetTime(const QString &stationID) { - Sun sun; + Sun thesun; QString latitude = stationDB->stationLatitudeFromID(stationID); QString longitude = stationDB->stationLongitudeFromID(stationID); - QTime set_time = sun.computeSetTime(latitude, longitude); + QTime set_time = thesun.computeSetTime(latitude, longitude); kdDebug(12006) << "set time: " << set_time << endl; |