mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +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
@@ -569,10 +569,12 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
bool CModelDataReader::hasChangedUrl(CEntityFlags::Entity entity) const
|
||||
bool CModelDataReader::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 CModelDataReader::getDbServiceBaseUrl() const
|
||||
|
||||
Reference in New Issue
Block a user