mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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:
parent
f1f16b224b
commit
7f783e2147
1 changed files with 0 additions and 4 deletions
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue