Refs #868 Use CXPlaneUtil::xplaneRootDir() in the X-Plane plugin

This commit is contained in:
Klaus Basan
2017-03-07 19:30:44 +01:00
committed by Mathew Sutcliffe
parent f25d569ae8
commit 99c792dd4b
2 changed files with 4 additions and 14 deletions

View File

@@ -83,9 +83,7 @@ namespace BlackSimPlugin
void CSimulatorXPlaneConfigWindow::ps_installXBus()
{
QString xPlaneLocation = BlackMisc::Simulation::XPlane::CXPlaneUtil::xplane10Dir();
if (xPlaneLocation.isEmpty())
xPlaneLocation = BlackMisc::Simulation::XPlane::CXPlaneUtil::xplane9Dir();
QString xPlaneLocation = BlackMisc::Simulation::XPlane::CXPlaneUtil::xplaneRootDir();
QString path = QFileDialog::getExistingDirectory(parentWidget(),
tr("Choose your X-Plane install directory"),