Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Framstag committed Oct 27, 2024
2 parents 6acf9be + 204b76a commit 3560ce8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libosmscout-client-qt/src/osmscoutclientqt/LookupModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ void LookupModule::requestLocationDescription(const osmscout::GeoCoord location)
QMutexLocker locker(&mutex);
OSMScoutQt::GetInstance().GetDBThread()->RunSynchronousJob(
[this,location](const std::list<DBInstanceRef> &databases){
int count = 0;
for (auto db:databases){
osmscout::LocationDescription description;
osmscout::GeoBox dbBox=db->GetDBGeoBox();
Expand All @@ -304,8 +303,6 @@ void LookupModule::requestLocationDescription(const osmscout::GeoCoord location)
}

if (description.GetAtAddressDescription()){
count++;

auto place = description.GetAtAddressDescription()->GetPlace();
emit locationDescription(location, QString::fromStdString(db->path), description,
BuildAdminRegionList(db, place.GetAdminRegion(), regionMap));
Expand All @@ -317,8 +314,6 @@ void LookupModule::requestLocationDescription(const osmscout::GeoCoord location)
}

if (description.GetAtPOIDescription()){
count++;

auto place = description.GetAtPOIDescription()->GetPlace();
emit locationDescription(location, QString::fromStdString(db->path), description,
BuildAdminRegionList(db, place.GetAdminRegion(), regionMap));
Expand Down

0 comments on commit 3560ce8

Please sign in to comment.