diff options
-rw-r--r-- | parse-xml.c | 3 | ||||
-rw-r--r-- | qt-ui/mainwindow.cpp | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/parse-xml.c b/parse-xml.c index 381bd3823..4b6901f7f 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1167,7 +1167,6 @@ static void gps_location(char *buffer, struct dive_site *ds) /* this is in qthelper.cpp, so including the .h file is a pain */ extern const char *printGPSCoords(int lat, int lon); -extern void add_geo_information_for_lookup(degrees_t latitude, degrees_t longitude, uint32_t uuid); static void gps_in_dive(char *buffer, struct dive *dive) { @@ -1213,8 +1212,6 @@ static void gps_in_dive(char *buffer, struct dive *dive) ds->longitude = longitude; } } - if (ds && (!ds->notes || strstr(ds->notes, "countrytag:") == NULL)) - add_geo_information_for_lookup(latitude, longitude, dive->dive_site_uuid); } static void add_dive_site(char *ds_name, struct dive *dive) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 349b84aec..fd85b2c8a 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1542,9 +1542,6 @@ void MainWindow::loadFiles(const QStringList fileNames) addRecentFile(fileNames); removeRecentFile(failedParses); - // searches for geo lookup information in a thread so it doesn`t - // freezes the ui. - ReverseGeoLookupThread::instance()->start(); refreshDisplay(); ui.actionAutoGroup->setChecked(autogroup); |