]> git.mxchange.org Git - flightgear.git/commitdiff
Hook up parking position in launcher.
authorJames Turner <zakalawe@mac.com>
Tue, 6 Jan 2015 21:12:19 +0000 (21:12 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 6 Jan 2015 21:12:19 +0000 (21:12 +0000)
src/GUI/QtLauncher.cxx

index 87394b904251e00b0749ab04b851ddc3f0922f6a..8edcc16435c9ba03afd5c0abe0a6dc21b72dd529 100644 (file)
@@ -798,8 +798,6 @@ void QtLauncher::onRun()
         m_recentAircraft.prepend(m_selectedAircraft);
         if (m_recentAircraft.size() > MAX_RECENT_AIRCRAFT)
           m_recentAircraft.pop_back();
-
-        qDebug() << Q_FUNC_INFO << "recent aircraft is now" << m_recentAircraft;
     }
 
     // airport / location
@@ -820,7 +818,7 @@ void QtLauncher::onRun()
         }
     } else if (m_ui->parkingRadio->isChecked()) {
         // parking selection
-
+        opt->addOption("parkpos", m_ui->parkingCombo->currentText().toStdString());
     }
 
     // time of day