mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Better name for the disable/enable geolocation edit
'enable' and 'disable' is too generic, and we are only blocking the geolocation edit. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b59084dc1f
commit
c2f77353ee
3 changed files with 6 additions and 6 deletions
|
@ -200,12 +200,12 @@ MainTab::~MainTab()
|
|||
}
|
||||
}
|
||||
|
||||
void MainTab::enable()
|
||||
void MainTab::enableGeoLoockupEdition()
|
||||
{
|
||||
setEnabled(true);
|
||||
}
|
||||
|
||||
void MainTab::disable()
|
||||
void MainTab::disableGeoLoockupEdition()
|
||||
{
|
||||
setDisabled(true);
|
||||
}
|
||||
|
|
|
@ -94,8 +94,8 @@ slots:
|
|||
void removeSelectedPhotos();
|
||||
void prepareDiveSiteEdit();
|
||||
void showLocation();
|
||||
void enable();
|
||||
void disable();
|
||||
void enableGeoLoockupEdition();
|
||||
void disableGeoLoockupEdition();
|
||||
|
||||
private:
|
||||
Ui::MainTab ui;
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue