diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 739cbdf77..dff005774 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -200,12 +200,12 @@ MainTab::~MainTab() } } -void MainTab::enable() +void MainTab::enableGeoLoockupEdition() { setEnabled(true); } -void MainTab::disable() +void MainTab::disableGeoLoockupEdition() { setDisabled(true); } diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index e81c53ba7..4a44c03b3 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -94,8 +94,8 @@ slots: void removeSelectedPhotos(); void prepareDiveSiteEdit(); void showLocation(); - void enable(); - void disable(); + void enableGeoLoockupEdition(); + void disableGeoLoockupEdition(); private: Ui::MainTab ui; diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index f2873ab86..a06a2c227 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -203,8 +203,8 @@ MainWindow::MainWindow() : QMainWindow(), ui.menu_Edit->addActions(undoRedoActions); ReverseGeoLoockupThread *geoLoockup = ReverseGeoLoockupThread::instance(); - connect(geoLoockup, SIGNAL(started()),information(), SLOT(disable())); - connect(geoLoockup, SIGNAL(finished()), information(), SLOT(enable())); + connect(geoLoockup, SIGNAL(started()),information(), SLOT(disableGeoLoockupEdition())); + connect(geoLoockup, SIGNAL(finished()), information(), SLOT(enableGeoLoockupEdition())); } MainWindow::~MainWindow()