summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r--qt-ui/divelistview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index 99b8fce23..02efac370 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -12,6 +12,7 @@
*/
#include <QTreeView>
+#include <QLineEdit>
#include "models.h"
class DiveListView : public QTreeView
@@ -61,7 +62,7 @@ private:
int sortColumn;
Qt::SortOrder currentOrder;
DiveTripModel::Layout currentLayout;
- QLineEdit *searchBox;
+ QLineEdit searchBox;
QModelIndex contextMenuIndex;
/* if dive_trip_t is null, there's no problem. */