summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/qtresourceview.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-03-26 09:15:29 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-03-26 09:15:40 (GMT)
commit7d5e8f7ff741b45d0114ea45d81c8d90118d65ab (patch)
tree43d1a6d6c2b8dcc6da6d376133e2af477bf34775 /tools/designer/src/lib/shared/qtresourceview.cpp
parent6f9eb6f97bdace74111180bc548f21f613e2674c (diff)
downloadQt-7d5e8f7ff741b45d0114ea45d81c8d90118d65ab.zip
Qt-7d5e8f7ff741b45d0114ea45d81c8d90118d65ab.tar.gz
Qt-7d5e8f7ff741b45d0114ea45d81c8d90118d65ab.tar.bz2
Designer: Fix broken resource view filtering.
Another side effect of 62c72ed2fd4aa6f5e62a190abf2dde2ba0f5ff0b . Task-number: QTBUG-9262 Initial-patch-by: Jarek Kobus <jkobus@trolltech.com>
Diffstat (limited to 'tools/designer/src/lib/shared/qtresourceview.cpp')
-rw-r--r--tools/designer/src/lib/shared/qtresourceview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/qtresourceview.cpp b/tools/designer/src/lib/shared/qtresourceview.cpp
index 3c7010c..18fd07b 100644
--- a/tools/designer/src/lib/shared/qtresourceview.cpp
+++ b/tools/designer/src/lib/shared/qtresourceview.cpp
@@ -421,7 +421,7 @@ void QtResourceViewPrivate::filterOutResources()
// 3) we hide these items which has pathToVisible value false.
const bool matchAll = m_filterPattern.isEmpty();
- const QString root(QLatin1Char(':'));
+ const QString root(QLatin1String(":/"));
QQueue<QString> pathQueue;
pathQueue.enqueue(root);