summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/divelistview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index f0cb01a82..cbd62408b 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -117,9 +117,7 @@ void DiveListView::headerClicked(int i)
sortByColumn(i, Qt::DescendingOrder);
}
- QSortFilterProxyModel *m = qobject_cast<QSortFilterProxyModel*>(model());
-
- // repopulat the selections.
+ // repopulate the selections.
Q_FOREACH(struct dive *d, currentSelectedDives) {
selectDive(d, first);
first = false;