diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-28 10:16:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-28 10:16:53 -0700 |
commit | 2f8f632cf6c1b4627b5307b6f325d6e8f6291f82 (patch) | |
tree | e882c2e7efc60a512edf621f686b330772791afd /qt-ui/divelistview.cpp | |
parent | f936776069de719ec545f2862cda411e41ef1d46 (diff) | |
download | subsurface-2f8f632cf6c1b4627b5307b6f325d6e8f6291f82.tar.gz |
Minor cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index cbb75c102..45141bfe1 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -28,8 +28,8 @@ #include <iostream> #include "../qthelper.h" -DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelection(false), sortColumn(0) - , currentOrder(Qt::DescendingOrder), searchBox(this), dontEmitDiveChangedSignal(false) +DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelection(false), sortColumn(0), + currentOrder(Qt::DescendingOrder), searchBox(this), dontEmitDiveChangedSignal(false) { setItemDelegate(new DiveListDelegate(this)); setUniformRowHeights(true); @@ -59,8 +59,6 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec searchBox.hide(); connect(showSearchBox, SIGNAL(triggered(bool)), this, SLOT(showSearchEdit())); connect(&searchBox, SIGNAL(textChanged(QString)), model, SLOT(setFilterFixedString(QString))); - // calling setupUi() here appears to be too early; it does NOT correctly set the column widths - // setupUi(); } DiveListView::~DiveListView() |