mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix unused variable warning and spelling
Commit 4b405caa2c
("Clean up divelist dive selection") made the sort
model variable in headerClicked unused, so get rid of it. Fix a speling
eror closeby while at it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3cca9eaf94
commit
d3442a81b3
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue