summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
authorGravatar Boris Barbulovski <bbarbulovski@gmail.com>2014-02-09 18:18:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-09 14:42:06 -0800
commitbbac1438cf4cc79c83940b4ae38cf442455404d5 (patch)
treeec3074af3ea2b7bceb3125cc88db7b2ef42c60b4 /qt-ui/divelistview.h
parent2d3e48f4ae0c0137030988451e3fcb42c2320a8d (diff)
downloadsubsurface-bbac1438cf4cc79c83940b4ae38cf442455404d5.tar.gz
DiveListView tiny cleanup
* Change 'searchBox' member type from 'QLineEdit *' to 'QLineEdit' Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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. */