mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove broken method
This method was written a long time ago, now we need to use the new versions of it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
203c3e3077
commit
ddc7717ab8
2 changed files with 0 additions and 11 deletions
|
@ -245,16 +245,6 @@ void MainTab::disableGeoLookupEdition()
|
||||||
ui.addDiveSite->hide();
|
ui.addDiveSite->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainTab::prepareDiveSiteEdit() {
|
|
||||||
// TODO: This is wrong. We can only set this if we Accepted the dive site edit
|
|
||||||
// And not if we cancelled. Currently we are seting directly without even
|
|
||||||
// thinking - but too tired, fix this tomorrow.
|
|
||||||
|
|
||||||
uint32_t dive_site_uuid = LocationInformationModel::instance()->addDiveSite(tr("Unnamed"));
|
|
||||||
displayed_dive.dive_site_uuid = dive_site_uuid;
|
|
||||||
emit requestDiveSiteEdit(dive_site_uuid);
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainTab::toggleTriggeredColumn()
|
void MainTab::toggleTriggeredColumn()
|
||||||
{
|
{
|
||||||
QAction *action = qobject_cast<QAction *>(sender());
|
QAction *action = qobject_cast<QAction *>(sender());
|
||||||
|
|
|
@ -92,7 +92,6 @@ slots:
|
||||||
void escDetected(void);
|
void escDetected(void);
|
||||||
void photoDoubleClicked(const QString filePath);
|
void photoDoubleClicked(const QString filePath);
|
||||||
void removeSelectedPhotos();
|
void removeSelectedPhotos();
|
||||||
void prepareDiveSiteEdit();
|
|
||||||
void showLocation();
|
void showLocation();
|
||||||
void enableGeoLookupEdition();
|
void enableGeoLookupEdition();
|
||||||
void disableGeoLookupEdition();
|
void disableGeoLookupEdition();
|
||||||
|
|
Loading…
Add table
Reference in a new issue