summaryrefslogtreecommitdiffstats
path: root/src/xml_to_data/xml_to_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml_to_data/xml_to_data.cpp')
-rw-r--r--src/xml_to_data/xml_to_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml_to_data/xml_to_data.cpp b/src/xml_to_data/xml_to_data.cpp
index 65dc463..39eba60 100644
--- a/src/xml_to_data/xml_to_data.cpp
+++ b/src/xml_to_data/xml_to_data.cpp
@@ -34,7 +34,7 @@ void XmlToData::checkTagNames(TQDomElement element, const TQString &tag,
for (uint i=0; i<uint(list.count()); i++) {
if ( !list.item(i).isElement() ) continue;
TQString name = list.item(i).toElement().attribute("name");
- if ( names.tqfind(name)==names.end() ) qFatal(TQString("Illegal name %1 for %2 element").tqarg(name).tqarg(tag));
+ if ( names.find(name)==names.end() ) qFatal(TQString("Illegal name %1 for %2 element").tqarg(name).tqarg(tag));
}
}