summaryrefslogtreecommitdiffstats
path: root/tools/designer/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-03-23 08:13:27 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-03-23 08:13:27 (GMT)
commit6a54124fefb786f4bad8fc778d174890fb1824f4 (patch)
treec1efbbccfe03e1d35356bacda9a33c18cdc3c234 /tools/designer/src
parent56782c88937cb1296b9bc72bbbc0a0d8eb3b32d5 (diff)
downloadQt-6a54124fefb786f4bad8fc778d174890fb1824f4.zip
Qt-6a54124fefb786f4bad8fc778d174890fb1824f4.tar.gz
Qt-6a54124fefb786f4bad8fc778d174890fb1824f4.tar.bz2
Designer: Fix broken resource view.
Resource handling broken as a side effect of 62c72ed2fd4aa6f5e62a190abf2dde2ba0f5ff0b . Task-number: QTBUG-9262
Diffstat (limited to 'tools/designer/src')
-rw-r--r--tools/designer/src/lib/shared/qtresourceview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/qtresourceview.cpp b/tools/designer/src/lib/shared/qtresourceview.cpp
index 859f239..3c7010c 100644
--- a/tools/designer/src/lib/shared/qtresourceview.cpp
+++ b/tools/designer/src/lib/shared/qtresourceview.cpp
@@ -377,7 +377,8 @@ void QtResourceViewPrivate::createPaths()
if (!m_resourceModel)
return;
- const QString root(QLatin1Char(':'));
+ // Resource root up until 4.6 was ':', changed to ":/" as of 4.7
+ const QString root(QLatin1String(":/"));
QMap<QString, QString> contents = m_resourceModel->contents();
QMapIterator<QString, QString> itContents(contents);