aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divepicturewidget.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-26 14:01:31 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-26 15:47:02 -0700
commit89816f64c28848ef45723de5e0821ea00e130ae4 (patch)
tree99d8f3a21ecc1ddb12ee070e44a0b7b477d32acd /qt-ui/divepicturewidget.cpp
parentb05d15c5a9cc16011ac4dc84601559e496a172f9 (diff)
downloadsubsurface-89816f64c28848ef45723de5e0821ea00e130ae4.tar.gz
Headers cleanup.
Too much noise on the headers, this commit remove uneeded headers when they are uneeded. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divepicturewidget.cpp')
-rw-r--r--qt-ui/divepicturewidget.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/qt-ui/divepicturewidget.cpp b/qt-ui/divepicturewidget.cpp
index bf76d1144..6849146d5 100644
--- a/qt-ui/divepicturewidget.cpp
+++ b/qt-ui/divepicturewidget.cpp
@@ -1,12 +1,7 @@
#include "divepicturewidget.h"
#include <dive.h>
-#include <qtconcurrentmap.h>
-#include <qdir.h>
-
-void DivePictureDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
-{
- QStyledItemDelegate::paint(painter, option, index);
-}
+#include <QtConcurrentMap>
+#include <QDir>
DivePictureModel *DivePictureModel::instance()
{