aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 20:54:01 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-28 20:54:01 -0700
commit7f783e2147d4014cd4297316c3c062d8ce3ba3b7 (patch)
tree173fc4abb7a3e0e5a2c920e780133f19c2aede8b
parentf1f16b224b0d965432618fb6ef087e568ece05e5 (diff)
downloadsubsurface-7f783e2147d4014cd4297316c3c062d8ce3ba3b7.tar.gz
Profile: remove old picture event handling code
We now handle pictures differently. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/profile/diveeventitem.cpp4
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"));
}