summaryrefslogtreecommitdiffstats
path: root/kdict/applet/kdictapplet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdict/applet/kdictapplet.cpp')
-rw-r--r--kdict/applet/kdictapplet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdict/applet/kdictapplet.cpp b/kdict/applet/kdictapplet.cpp
index eda347e4..74ad2e0b 100644
--- a/kdict/applet/kdictapplet.cpp
+++ b/kdict/applet/kdictapplet.cpp
@@ -286,7 +286,7 @@ void DictApplet::sendCommand(const TQCString &fun, const TQString &data)
return;
} else {
QCStringList list = client->remoteObjects("kdict");
- if (list.tqfindIndex("KDictIface")==-1) {
+ if (list.findIndex("KDictIface")==-1) {
waiting = 1;
delayedFunc = fun.copy();
delayedData = data;
@@ -313,7 +313,7 @@ void DictApplet::sendDelayedCommand()
return;
} else {
QCStringList list = client->remoteObjects("kdict");
- if (list.tqfindIndex("KDictIface")==-1) {
+ if (list.findIndex("KDictIface")==-1) {
waiting++;
TQTimer::singleShot(100, this, TQT_SLOT(sendDelayedCommand()));
return;