summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared
diff options
context:
space:
mode:
authorJarek Kobus <jkobus@trolltech.com>2009-04-17 06:57:25 (GMT)
committerJarek Kobus <jkobus@trolltech.com>2009-04-17 06:57:25 (GMT)
commit04c01e15739d926ef653293ef1e89132085d7acd (patch)
tree4eede68b8d236801c2720ddc426af3141af1867f /tools/designer/src/lib/shared
parent6c4b9cb575292f5f81afc772d993c1a53eb96ea5 (diff)
downloadQt-04c01e15739d926ef653293ef1e89132085d7acd.zip
Qt-04c01e15739d926ef653293ef1e89132085d7acd.tar.gz
Qt-04c01e15739d926ef653293ef1e89132085d7acd.tar.bz2
Fix management of svg icons
Task: 251248 Revieved-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tools/designer/src/lib/shared')
-rw-r--r--tools/designer/src/lib/shared/qdesigner_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/qdesigner_utils.cpp b/tools/designer/src/lib/shared/qdesigner_utils.cpp
index d2f092e..75fa180 100644
--- a/tools/designer/src/lib/shared/qdesigner_utils.cpp
+++ b/tools/designer/src/lib/shared/qdesigner_utils.cpp
@@ -397,7 +397,7 @@ namespace qdesigner_internal
QMapIterator<QPair<QIcon::Mode, QIcon::State>, PropertySheetPixmapValue> itPath(paths);
while (itPath.hasNext()) {
QPair<QIcon::Mode, QIcon::State> pair = itPath.next().key();
- icon.addPixmap(m_pixmapCache->pixmap(itPath.value()), pair.first, pair.second);
+ icon.addFile(itPath.value().path(), QSize(), pair.first, pair.second);
}
m_cache.insert(value, icon);
return icon;