From 976747b083d03b4da7cb47cb968c6251946778f0 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 29 May 2014 18:52:36 -0700 Subject: [PATCH] commit --- src/comm/QGCFlightGearLink.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/comm/QGCFlightGearLink.cc b/src/comm/QGCFlightGearLink.cc index 198cf8dea..715648e22 100644 --- a/src/comm/QGCFlightGearLink.cc +++ b/src/comm/QGCFlightGearLink.cc @@ -127,20 +127,11 @@ void QGCFlightGearLink::run() _fgProcessName = fgProcessFullyQualified.absoluteFilePath(_fgProcessName); #endif - // FIXME: Need to clean up this debug arg list stuff - QStringList debugArgList; - debugArgList << "--log-level=debug"; - //debugArgList += "--fg-scenery=" + fgSceneryPath + ""; - //debugArgList += "--fg-root=" + fgRootPath + ""; - - debugArgList += "--fg-root=\"c:\\Flight Gear\\data\""; - debugArgList += "--fg-scenery=\"c:\\Flight Gear\\data\\Scenery;c:\\Flight Gear\\scenery;C:\\Flight Gear\\terrasync\""; #ifdef DEBUG_FLIGHTGEAR_CONNECT qDebug() << "Starting FlightGear" << _fgProcessWorkingDirPath << _fgProcessName << _fgArgList; - qDebug() << "Debug args" << debugArgList; #endif - process->start(_fgProcessName, /*debugArgList*/ _fgArgList); + process->start(_fgProcessName, _fgArgList); connectState = true; emit simulationConnected(connectState); -- 2.22.0