diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profile/diveeventitem.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/qt-ui/profile/diveeventitem.cpp b/qt-ui/profile/diveeventitem.cpp index fc65f8e79..f20d44e5c 100644 --- a/qt-ui/profile/diveeventitem.cpp +++ b/qt-ui/profile/diveeventitem.cpp @@ -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")); } |