summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/sql
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/plugins/sql')
-rw-r--r--kabc/plugins/sql/resourcesql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/plugins/sql/resourcesql.cpp b/kabc/plugins/sql/resourcesql.cpp
index 7dae03d22..55f02bae7 100644
--- a/kabc/plugins/sql/resourcesql.cpp
+++ b/kabc/plugins/sql/resourcesql.cpp
@@ -317,8 +317,8 @@ bool ResourceSql::save( Ticket * )
TQStringList list = (*it).customs();
TQStringList::ConstIterator it;
for( it = list.begin(); it != list.end(); ++it ) {
- int dashPos = (*it).tqfind( '-' );
- int colonPos = (*it).tqfind( ':' );
+ int dashPos = (*it).find( '-' );
+ int colonPos = (*it).find( ':' );
TQString app = (*it).left( dashPos );
TQString name = (*it).mid( dashPos + 1, colonPos - dashPos - 1 );
TQString value = (*it).right( (*it).length() - colonPos - 1 );