Profile: remove old picture event handling code

We now handle pictures differently.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-06-28 20:54:01 -07:00
parent f1f16b224b
commit 7f783e2147

View file

@ -64,10 +64,6 @@ void DiveEventItem::setupPixmap()
setPixmap(EVENT_PIXMAP(":flag"));
} else if (strcmp(internalEvent->name, "heading") == 0) {
setPixmap(EVENT_PIXMAP(":flag"));
} else if (internalEvent->type == 123) {
QPixmap picture;
picture.load(internalEvent->name);
setPixmap(picture.scaled(100, 100, Qt::KeepAspectRatio, Qt::SmoothTransformation));
} else {
setPixmap(EVENT_PIXMAP(":warning"));
}