summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/indimenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/indimenu.cpp')
-rw-r--r--kstars/kstars/indimenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/kstars/indimenu.cpp b/kstars/kstars/indimenu.cpp
index a3b0be1e..354e8a9e 100644
--- a/kstars/kstars/indimenu.cpp
+++ b/kstars/kstars/indimenu.cpp
@@ -222,7 +222,7 @@ void INDIMenu::setCustomLabel(TQString deviceName)
for (unsigned int i=0; i < mgr.count(); i++)
for (unsigned int j=0; j < mgr.at(i)->indi_dev.count(); j++)
- if (mgr.at(i)->indi_dev.at(j)->label.tqfind(deviceName) >= 0)
+ if (mgr.at(i)->indi_dev.at(j)->label.find(deviceName) >= 0)
nset++;
if (nset)