diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 4 | ||||
-rw-r--r-- | qt-ui/maintab.h | 4 | ||||
-rw-r--r-- | qt-ui/mainwindow.cpp | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index fd760445b..88bcc83e6 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -209,13 +209,13 @@ MainTab::~MainTab() } } -void MainTab::enableGeoLoockupEdition() +void MainTab::enableGeoLookupEdition() { ui.waitingSpinner->stop(); ui.manageDiveSite->show(); } -void MainTab::disableGeoLoockupEdition() +void MainTab::disableGeoLookupEdition() { ui.waitingSpinner->start(); ui.manageDiveSite->hide(); diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 4a44c03b3..d8880f584 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -94,8 +94,8 @@ slots: void removeSelectedPhotos(); void prepareDiveSiteEdit(); void showLocation(); - void enableGeoLoockupEdition(); - void disableGeoLoockupEdition(); + void enableGeoLookupEdition(); + void disableGeoLookupEdition(); private: Ui::MainTab ui; diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index a06a2c227..1557e0fcc 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -202,9 +202,9 @@ MainWindow::MainWindow() : QMainWindow(), undoRedoActions.append(redoAction); ui.menu_Edit->addActions(undoRedoActions); - ReverseGeoLoockupThread *geoLoockup = ReverseGeoLoockupThread::instance(); - connect(geoLoockup, SIGNAL(started()),information(), SLOT(disableGeoLoockupEdition())); - connect(geoLoockup, SIGNAL(finished()), information(), SLOT(enableGeoLoockupEdition())); + ReverseGeoLookupThread *geoLookup = ReverseGeoLookupThread::instance(); + connect(geoLookup, SIGNAL(started()),information(), SLOT(disableGeoLookupEdition())); + connect(geoLookup, SIGNAL(finished()), information(), SLOT(enableGeoLookupEdition())); } MainWindow::~MainWindow() @@ -1460,7 +1460,7 @@ void MainWindow::loadFiles(const QStringList fileNames) // searches for geo lookup information in a thread so it doesn`t // freezes the ui. - ReverseGeoLoockupThread::instance()->start(); + ReverseGeoLookupThread::instance()->start(); refreshDisplay(); ui.actionAutoGroup->setChecked(autogroup); |