src/gui/styles/qwindowsstyle.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
--- a/src/gui/styles/qwindowsstyle.cpp	Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/styles/qwindowsstyle.cpp	Wed Aug 18 10:37:55 2010 +0300
@@ -1388,8 +1388,9 @@
             QRect r = opt->rect;
             int size = qMin(r.height(), r.width());
             QPixmap pixmap;
-            QString pixmapName = QStyleHelper::uniqueName(QLatin1String("$qt_ia-") + QLatin1String(metaObject()->className()), opt, QSize(size, size))
-                  + QLatin1Char('-') + QString::number(pe);                               
+            QString pixmapName = QStyleHelper::uniqueName(QLatin1String("$qt_ia-")
+                                                          % QLatin1String(metaObject()->className()), opt, QSize(size, size))
+                                 % HexString<uint>(pe);
             if (!QPixmapCache::find(pixmapName, pixmap)) {
                 int border = size/5;
                 int sqsize = 2*(size/2);