summaryrefslogtreecommitdiffstats
path: root/kmobile/kioslave/kio_mobile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/kioslave/kio_mobile.cpp')
-rw-r--r--kmobile/kioslave/kio_mobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmobile/kioslave/kio_mobile.cpp b/kmobile/kioslave/kio_mobile.cpp
index 94d803306..cc7482072 100644
--- a/kmobile/kioslave/kio_mobile.cpp
+++ b/kmobile/kioslave/kio_mobile.cpp
@@ -405,7 +405,7 @@ int KMobileProtocol::getVCard( const TQString &devName, TQCString &result, TQStr
{
PRINT_DEBUG << TQString("getVCard(%1)\n").tqarg(path);
- int index = path.tqfind('.');
+ int index = path.find('.');
if (index>0)
index = path.left(index).toInt();
if (index<0 || index>=m_dev.numAddresses(devName))
@@ -494,7 +494,7 @@ int KMobileProtocol::getNote( const TQString &devName, TQCString &result, TQStri
{
PRINT_DEBUG << TQString("getNote(%1)\n").tqarg(path);
- int index = path.tqfind('_');
+ int index = path.find('_');
if (index>0)
index = path.left(index).toInt();
if (index<0 || index>=m_dev.numNotes(devName))