diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-12 16:13:42 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-13 21:42:53 -0400 |
commit | 068b01aef203ee12c2d538141621c8ab5b13f0c8 (patch) | |
tree | 443d4b8fbe7f93542e8ed3f459434f5ceba8b5f7 /desktop-widgets/mapwidget.cpp | |
parent | 78e2560296bbcc9209dec947417feb8da5a5107c (diff) | |
download | subsurface-068b01aef203ee12c2d538141621c8ab5b13f0c8.tar.gz |
Cleanup: rename MainWindow member variables
Instead of the weirdly named "information" and the inconsistent
"dive_list" use the logical "mainTab" and the camel-cased
"diveList", respectively.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index d1048e87f..945e9fe1c 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -103,9 +103,9 @@ void MapWidget::selectedDivesChanged(QList<int> list) { CHECK_IS_READY_RETURN_VOID(); skipReload = true; - MainWindow::instance()->dive_list->unselectDives(); + MainWindow::instance()->diveList->unselectDives(); if (!list.empty()) - MainWindow::instance()->dive_list->selectDives(list); + MainWindow::instance()->diveList->selectDives(list); skipReload = false; } |