summaryrefslogtreecommitdiffstats
path: root/kworldwatch/mapwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch/mapwidget.cpp')
-rw-r--r--kworldwatch/mapwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kworldwatch/mapwidget.cpp b/kworldwatch/mapwidget.cpp
index ef359aa..88f63e5 100644
--- a/kworldwatch/mapwidget.cpp
+++ b/kworldwatch/mapwidget.cpp
@@ -353,10 +353,10 @@ void MapWidget::timeout()
TQString MapWidget::cityTime(const TQString &city)
{
TQString result = i18n(city.latin1()); // Time zone translation
- int pos = result.tqfind("/");
+ int pos = result.find("/");
if (pos >= 0)
result = result.mid(pos+1);
- result.tqreplace(TQRegExp("_"), " ");
+ result.replace(TQRegExp("_"), " ");
result.append(": ");
char *initial_TZ = getenv("TZ");