diff options
Diffstat (limited to 'kstars/kstars/indiproperty.cpp')
-rw-r--r-- | kstars/kstars/indiproperty.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/kstars/indiproperty.cpp b/kstars/kstars/indiproperty.cpp index dbdbca94..0da730ee 100644 --- a/kstars/kstars/indiproperty.cpp +++ b/kstars/kstars/indiproperty.cpp @@ -209,18 +209,18 @@ void INDI_P::convertSwitch(int id) if (assosiatedPopup == NULL) return; - mLabel = assosiatedPopup->text(id).tqreplace("&", ""); + mLabel = assosiatedPopup->text(id).replace("&", ""); //kdDebug() << "Name: " << name << " ID: " << id << endl; /* Special case is CCD_EXPOSE_DURATION, not a switch */ - if (stdID == CCD_EXPOSE_DURATION && mLabel.tqfind(label) != -1) + if (stdID == CCD_EXPOSE_DURATION && mLabel.find(label) != -1) { newText(); return; } /* Another special case, center telescope */ - if (mLabel.tqfind("Crosshair") != -1) + if (mLabel.find("Crosshair") != -1) { if (!indistd->stdDev->dp->isOn()) return; if (indistd->stdDev->telescopeSkyObject == NULL) return; @@ -339,7 +339,7 @@ void INDI_P::newBlob() fp.setName(filename); - if ( (pos = filename.tqfindRev(".")) != -1) + if ( (pos = filename.findRev(".")) != -1) format = filename.mid (pos, filename.length()); if (!fp.open(IO_ReadOnly)) |