summaryrefslogtreecommitdiffstats
path: root/kaddressbook/geowidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/geowidget.cpp')
-rw-r--r--kaddressbook/geowidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/geowidget.cpp b/kaddressbook/geowidget.cpp
index 5dc432868..2b9b32c96 100644
--- a/kaddressbook/geowidget.cpp
+++ b/kaddressbook/geowidget.cpp
@@ -404,13 +404,13 @@ void GeoDialog::loadCityList()
pos = name.search(line, pos);
if ( pos > 0 ) {
n = line.mid( pos, name.matchedLength() ).stripWhiteSpace();
- n.tqreplace( '_', " " );
+ n.replace( '_', " " );
}
if ( !c.isEmpty() && !n.isEmpty() ) {
- pos = c.tqfind( "+", 1 );
+ pos = c.find( "+", 1 );
if ( pos < 0 )
- pos = c.tqfind( "-", 1 );
+ pos = c.find( "-", 1 );
if ( pos > 0 ) {
GeoData data;
data.latitude = calculateCoordinate( c.left( pos ) );