mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
No BLACK_VERIFY if base url function
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user