mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
Remove unnecessary version check for FG
This commit is contained in:
committed by
Mat Sutcliffe
parent
ecbce27794
commit
db4e3be10e
@@ -1215,14 +1215,6 @@ namespace BlackSimPlugin
|
|||||||
bool result = service.isValid() && traffic.isValid() && weather.isValid();
|
bool result = service.isValid() && traffic.isValid() && weather.isValid();
|
||||||
if (! result) { return; }
|
if (! result) { return; }
|
||||||
|
|
||||||
QString swiftVersion = BlackConfig::CBuildConfig::getVersionString();
|
|
||||||
QString xswiftbusVersion = service.getVersionNumber();
|
|
||||||
if (! swiftVersion.contains(xswiftbusVersion))
|
|
||||||
{
|
|
||||||
CLogMessage(this).error(u"You are using an incorrect version of XSwiftBus. Make sure to install %1 into X-Plane plugins!") << xswiftbusVersion;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!traffic.initialize())
|
if (!traffic.initialize())
|
||||||
{
|
{
|
||||||
CLogMessage(this).error(u"Connection to XSwiftBus successful, but could not initialize XSwiftBus. Check X-Plane Log.txt.");
|
CLogMessage(this).error(u"Connection to XSwiftBus successful, but could not initialize XSwiftBus. Check X-Plane Log.txt.");
|
||||||
|
|||||||
Reference in New Issue
Block a user