Remove silly macro to pretend that we were doing things the right way.

That macro was useless, I should have been drunk when I wrote it, and I
don't drink.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-05-12 20:51:39 -03:00 committed by Dirk Hohndel
parent 1e25a7c234
commit b31becd2d9

View file

@ -1624,17 +1624,10 @@ ExpanderGraphics::ExpanderGraphics(QGraphicsItem *parent) : QGraphicsRectItem(pa
leftWing(new QGraphicsPixmapItem(this)),
rightWing(new QGraphicsPixmapItem(this))
{
QPixmap p;
#define CREATE(item, pixmap) \
p = QPixmap(QString(pixmap)); \
item->setPixmap(p);
CREATE(icon, ":icon_time");
CREATE(bg, ":round_base");
CREATE(leftWing, ":left_wing");
CREATE(rightWing, ":right_wing");
#undef CREATE
icon->setPixmap(QPixmap(":icon_time"));
bg->setPixmap(QPixmap(":round_base"));
leftWing->setPixmap(QPixmap(":left_wing"));
rightWing->setPixmap(QPixmap(":right_wing"));
decreaseBtn->setPixmap(QPixmap(":arrow_down"));
increaseBtn->setPixmap(QPixmap(":arrow_up"));