summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-13 07:08:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-13 14:27:34 -0800
commitbe1b6c67c1ec0be77dfa65a1199bf8fc6d6101cf (patch)
treee1f1328695ce63c2860aeb56a097477ae7621b5c
parentd8146445fcf962e456af91c592536481fdc2753f (diff)
downloadsubsurface-be1b6c67c1ec0be77dfa65a1199bf8fc6d6101cf.tar.gz
maintab change for get_dive_site_uuid_by_name
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 1fbb32fa8..86a8965f5 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -1147,7 +1147,7 @@ void MainTab::on_location_editingFinished()
{
// find the dive site or create it
const char *name = ui.location->text().toUtf8().data();
- uint32_t uuid = get_dive_site_uuid_by_name(name);
+ uint32_t uuid = get_dive_site_uuid_by_name(name, NULL);
if (!uuid)
uuid = create_dive_site(name);
displayed_dive.dive_site_uuid = uuid;