summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Paul-Erik Törrönen <poltsi@777-team.org>2015-05-16 00:27:08 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-21 16:05:09 -0700
commitcfa54031928e901f56fd2c6b90047833d5a59c02 (patch)
tree50a4c00cd291540899a317459219a2c83d6887d6 /qt-ui
parent00b1469658fc43ec6448cd01e59405bfeeef40cb (diff)
downloadsubsurface-cfa54031928e901f56fd2c6b90047833d5a59c02.tar.gz
Fix typo
Loockup -> Lookup Signed-off-by: Paul-Erik Törrönen <poltsi@777-team.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp4
-rw-r--r--qt-ui/maintab.h4
-rw-r--r--qt-ui/mainwindow.cpp8
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);