From 7f783e2147d4014cd4297316c3c062d8ce3ba3b7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 28 Jun 2014 20:54:01 -0700 Subject: [PATCH] Profile: remove old picture event handling code We now handle pictures differently. Signed-off-by: Dirk Hohndel --- qt-ui/profile/diveeventitem.cpp | 4 ---- 1 file changed, 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")); }