mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
[AFV] Fixed context unittest that was broken by audio context changes
This commit is contained in:
@@ -39,6 +39,7 @@ namespace BlackCore
|
||||
{
|
||||
// workaround if a binding is taking place in an empty context
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
if (sApp->getApplicationInfo().isUnitTest()) { return; }
|
||||
|
||||
const QString a = CActionBind::registerAction(action, icon);
|
||||
Q_ASSERT_X(sApp && sApp->getInputManager(), Q_FUNC_INFO, "Missing input manager");
|
||||
|
||||
Reference in New Issue
Block a user