mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
[XPlane] Improve error message
This commit is contained in:
@@ -1541,7 +1541,7 @@ namespace BlackSimPlugin
|
|||||||
const MultiplayerAcquireInfo info = traffic.acquireMultiplayerPlanes();
|
const MultiplayerAcquireInfo info = traffic.acquireMultiplayerPlanes();
|
||||||
if (!info.hasAcquired)
|
if (!info.hasAcquired)
|
||||||
{
|
{
|
||||||
const QString owner = info.owner.trimmed().isEmpty() ? QStringLiteral("Some/this plugin/application") : info.owner.trimmed();
|
const QString owner = info.owner.trimmed().isEmpty() ? QStringLiteral("unknown plugin") : info.owner.trimmed();
|
||||||
CLogMessage(this).error(u"Connection to XSwiftBus successful, but could not acquire multiplayer planes. '%1' has acquired them already. Disable '%2' or remove it if not required and reload XSwiftBus.") << owner << owner.toLower();
|
CLogMessage(this).error(u"Connection to XSwiftBus successful, but could not acquire multiplayer planes. '%1' has acquired them already. Disable '%2' or remove it if not required and reload XSwiftBus.") << owner << owner.toLower();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user