QTfrontend/hats.cpp
changeset 3445 1ce844170014
parent 3236 4ab3917d7d44
child 4560 5d6c7f88db73
--- a/QTfrontend/hats.cpp	Fri May 07 09:57:12 2010 +0000
+++ b/QTfrontend/hats.cpp	Fri May 07 10:54:07 2010 +0000
@@ -48,6 +48,8 @@
         QPainter painter(&tmppix);
         painter.drawPixmap(QPoint(0, 5), hhpix);
         painter.drawPixmap(QPoint(0, 0), pix.copy(0, 0, 32, 32));
+        if(pix.width() > 32)
+            painter.drawPixmap(QPoint(0, 0), pix.copy(32, 0, 32, 32));
         painter.end();
 
         hats.append(qMakePair(str, QIcon(tmppix)));