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/tab-widgets/TabDivePhotos.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/tab-widgets/TabDivePhotos.cpp')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDivePhotos.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.cpp b/desktop-widgets/tab-widgets/TabDivePhotos.cpp index 7ddcc81d7..de65f2e89 100644 --- a/desktop-widgets/tab-widgets/TabDivePhotos.cpp +++ b/desktop-widgets/tab-widgets/TabDivePhotos.cpp @@ -109,12 +109,12 @@ void TabDivePhotos::recalculateSelectedThumbnails() //TODO: This looks overly wrong. We shouldn't call MainWindow to retrieve the DiveList to add Images. void TabDivePhotos::addPhotosFromFile() { - MainWindow::instance()->dive_list->loadImages(); + MainWindow::instance()->diveList->loadImages(); } void TabDivePhotos::addPhotosFromURL() { - MainWindow::instance()->dive_list->loadWebImages(); + MainWindow::instance()->diveList->loadWebImages(); } void TabDivePhotos::removeAllPhotos() |