No BLACK_VERIFY if base url function

This commit is contained in:
Klaus Basan
2018-07-27 04:19:27 +02:00
parent 1746388560
commit e1c7edb24d
2 changed files with 2 additions and 4 deletions

View File

@@ -247,7 +247,7 @@ namespace BlackCore
if (entity.testFlag(CEntityFlags::AirportEntity))
{
CUrl url = getAirportsUrl(mode);
CUrl url = this->getAirportsUrl(mode);
if (!url.isEmpty())
{
url.appendQuery(queryLatestTimestamp(newerThan));

View File

@@ -504,9 +504,7 @@ namespace BlackCore
CUrl CDatabaseReader::getBaseUrl(CDbFlags::DataRetrievalModeFlag mode) const
{
BLACK_VERIFY_X(sApp, Q_FUNC_INFO, "Missing app object, URLs cannot be obtained");
if (!sApp) { return CUrl(); }
if (!sApp || sApp->isShuttingDown()) { return CUrl(); }
switch (mode)
{
case CDbFlags::DbReading: