diff options
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() |