Use BLACK_AUDIT_X because this is a check for external data

This commit is contained in:
Klaus Basan
2019-09-03 23:18:14 +02:00
committed by Mat Sutcliffe
parent 2e6eac45bd
commit 7b8db694cc

View File

@@ -289,9 +289,10 @@ namespace BlackMisc
const QFileInfo modelFileInfo(plane.filePath);
model.setFileDetailsAndTimestamp(modelFileInfo);
model.setAircraftIcaoCode(icao);
if (CBuildConfig::isLocalDeveloperDebugBuild())
{
BLACK_VERIFY_X(modelFileInfo.exists(), Q_FUNC_INFO, "Model does NOT exist");
BLACK_AUDIT_X(modelFileInfo.exists(), Q_FUNC_INFO, "Model does NOT exist");
}
CLivery livery;