mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
[P3D] Adjustments for P3D v5
* guess version * added new version selection
This commit is contained in:
committed by
Mat Sutcliffe
parent
828b57f5a2
commit
8278a7d5e6
@@ -191,6 +191,11 @@ P3DSimConnectVersion stringToP3DVersion(const QString &p3d)
|
||||
if (p.contains("43")) { return P3DSimConnectv43; }
|
||||
if (p.contains("44")) { return P3DSimConnectv44; }
|
||||
if (p.contains("45")) { return P3DSimConnectv45; }
|
||||
|
||||
if (p.contains("50")) { return P3DSimConnectv45; }
|
||||
if (p.contains("51")) { return P3DSimConnectv45; }
|
||||
if (p.contains("52")) { return P3DSimConnectv45; }
|
||||
|
||||
}
|
||||
return P3DSimConnectv44; // default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user