mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Pass back URLs for changed URL check. This allows to display the changed locations.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e89d7d7b15
commit
addb008ffa
@@ -557,10 +557,12 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
bool CIcaoDataReader::hasChangedUrl(CEntityFlags::Entity entity) const
|
||||
bool CIcaoDataReader::hasChangedUrl(CEntityFlags::Entity entity, CUrl &oldUrlInfo, CUrl &newUrlInfo) const
|
||||
{
|
||||
Q_UNUSED(entity);
|
||||
return CDatabaseReader::isChangedUrl(this->m_readerUrlCache.get(), getBaseUrl(CDbFlags::DbReading));
|
||||
oldUrlInfo = this->m_readerUrlCache.get();
|
||||
newUrlInfo = this->getBaseUrl(CDbFlags::DbReading);
|
||||
return CDatabaseReader::isChangedUrl(oldUrlInfo, newUrlInfo);
|
||||
}
|
||||
|
||||
CUrl CIcaoDataReader::getDbServiceBaseUrl() const
|
||||
|
||||
Reference in New Issue
Block a user