summaryrefslogtreecommitdiffstats
path: root/src/fetch/z3950fetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fetch/z3950fetcher.cpp')
-rw-r--r--src/fetch/z3950fetcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fetch/z3950fetcher.cpp b/src/fetch/z3950fetcher.cpp
index d0bffa3..2496b5b 100644
--- a/src/fetch/z3950fetcher.cpp
+++ b/src/fetch/z3950fetcher.cpp
@@ -416,7 +416,7 @@ void Z3950Fetcher::handleResult(const TQString& result_) {
const StringMap customFields = Z3950Fetcher::customFields();
for(StringMap::ConstIterator it = customFields.begin(); it != customFields.end(); ++it) {
- if(!m_fields.tqcontains(it.key())) {
+ if(!m_fields.contains(it.key())) {
coll->removeField(it.key());
}
}
@@ -759,7 +759,7 @@ void Z3950Fetcher::ConfigWidget::loadPresets(const TQString& current_) {
if(current_.isEmpty() && idx == -1) {
// set the initial selection to something depending on the language
const TQStringList locales = cfg.readListEntry("Locale");
- if(locales.tqfindIndex(lang) > -1 || locales.tqfindIndex(lang2A) > -1) {
+ if(locales.findIndex(lang) > -1 || locales.findIndex(lang2A) > -1) {
idx = m_serverCombo->count() - 1;
}
} else if(id == current_) {