Fix: return, if CashAgentLib could not be loaded

This commit is contained in:
Siegfried Siegert 2023-06-16 10:53:27 +02:00
parent b52de16dbc
commit 76e67dbbaa
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -533,6 +533,7 @@ bool ATBDeviceControllerPlugin::private_loadCashAgentLib(QString pluginName)
qCritical() << "ATBDeviceControllerPlugin: hw is NULL";
this->errorCode = "CashAgentLib::HW_IS_NULL";
this->errorDescription = "ERROR: CashAgentLib object_cast is NULL: " + pluginName;
return false;
}
qCritical() << "ATBDeviceControllerPlugin: loaded CashAgentLib";