summaryrefslogtreecommitdiff
path: root/src/activeqt/container/qaxbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeqt/container/qaxbase.cpp')
-rw-r--r--src/activeqt/container/qaxbase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/activeqt/container/qaxbase.cpp b/src/activeqt/container/qaxbase.cpp
index 58d59f2..f88172c 100644
--- a/src/activeqt/container/qaxbase.cpp
+++ b/src/activeqt/container/qaxbase.cpp
@@ -990,7 +990,7 @@ QAxMetaObject *QAxBase::internalMetaObject() const
*/
bool QAxBase::setControl(const QString &c)
{
- if (c.toLower() == d->ctrl.toLower())
+ if (!c.compare(d->ctrl, Qt::CaseInsensitive))
return !d->ctrl.isEmpty();
QString search = c;
@@ -1025,7 +1025,7 @@ bool QAxBase::setControl(const QString &c)
search = c;
}
- if (search.toLower() == d->ctrl.toLower())
+ if (!search.compare(d->ctrl, Qt::CaseInsensitive))
return !d->ctrl.isEmpty();
clear();