summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-02-04 04:11:09 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2011-02-04 04:11:09 (GMT)
commit9f8a181a619649c8a227e92f3d16677f4b7cb30a (patch)
treefdad9e918eaee28aecd7fc8f4a710df5d6dd5d4c /src/declarative/qml/qdeclarativeengine.cpp
parentd87e2627cbc3f818e23c9c80b03cc665e5f3d444 (diff)
downloadQt-9f8a181a619649c8a227e92f3d16677f4b7cb30a.zip
Qt-9f8a181a619649c8a227e92f3d16677f4b7cb30a.tar.gz
Qt-9f8a181a619649c8a227e92f3d16677f4b7cb30a.tar.bz2
Clarify case preservation in QDeclarativeImageProviders
Task-number: QTBUG-15905 Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index 890f500..37df226 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -776,7 +776,7 @@ void QDeclarativeEngine::addImageProvider(const QString &providerId, QDeclarativ
{
Q_D(QDeclarativeEngine);
QMutexLocker locker(&d->mutex);
- d->imageProviders.insert(providerId, QSharedPointer<QDeclarativeImageProvider>(provider));
+ d->imageProviders.insert(providerId.toLower(), QSharedPointer<QDeclarativeImageProvider>(provider));
}
/*!