summaryrefslogtreecommitdiffstats
path: root/qt-ui/modeldelegates.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-02-09 20:37:17 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 10:45:46 -0800
commit194dd8bd976fc7599b429d31e0b6100e3f9a416f (patch)
treec29dda61f0636a42d772bb10ab0edc3417aff2e7 /qt-ui/modeldelegates.cpp
parent4867ee8ad87399f34a399f30def700b2fc045309 (diff)
downloadsubsurface-194dd8bd976fc7599b429d31e0b6100e3f9a416f.tar.gz
Finish the cleanup of mainwindow.ui
This is the last patch in the series of clearing up the mainwindo.ui. Now to bugfixing. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/modeldelegates.cpp')
-rw-r--r--qt-ui/modeldelegates.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/modeldelegates.cpp b/qt-ui/modeldelegates.cpp
index d8776d06d..c6c46aa46 100644
--- a/qt-ui/modeldelegates.cpp
+++ b/qt-ui/modeldelegates.cpp
@@ -8,6 +8,7 @@
#include <QCompleter>
#include <QKeyEvent>
+#include <QTextDocument>
QSize DiveListDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
{