back to black colored weapons
authordisplacer
Thu, 06 Dec 2007 20:31:56 +0000
changeset 631 f7df3889f2ff
parent 630 38338573e09a
child 632 5e09ae25729f
back to black colored weapons
QTfrontend/selectWeapon.cpp
--- a/QTfrontend/selectWeapon.cpp	Thu Dec 06 20:25:32 2007 +0000
+++ b/QTfrontend/selectWeapon.cpp	Thu Dec 06 20:31:56 2007 +0000
@@ -37,9 +37,7 @@
   QHBoxLayout* hbLayout = new QHBoxLayout(this);
   
   QLabel* lbl = new QLabel();
-  QPixmap px(QPixmap::fromImage(getAmmoImage(num)));
-  px.setMask(px.createMaskFromColor(QColor(0,0,0)));
-  lbl->setPixmap(px);
+  lbl->setPixmap(QPixmap::fromImage(getAmmoImage(num)));
   
   hbLayout->addWidget(lbl);
   WeaponItem* item=new WeaponItem(QImage(":/res/M2Round2.jpg"), this);