diff options
Diffstat (limited to 'FaceTrackNoIR/FGServer.cpp')
-rw-r--r-- | FaceTrackNoIR/FGServer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FaceTrackNoIR/FGServer.cpp b/FaceTrackNoIR/FGServer.cpp index 6b96d249..47ca31ba 100644 --- a/FaceTrackNoIR/FGServer.cpp +++ b/FaceTrackNoIR/FGServer.cpp @@ -38,8 +38,8 @@ FGServer::FGServer( Tracker *parent ) { headTracker = parent;
// Create events
- m_StopThread = CreateEvent(0, TRUE, FALSE, 0);
- m_WaitThread = CreateEvent(0, TRUE, FALSE, 0);
+ //m_StopThread = CreateEvent(0, TRUE, FALSE, 0);
+ //m_WaitThread = CreateEvent(0, TRUE, FALSE, 0);
loadSettings();
}
@@ -123,7 +123,7 @@ void FGServer::run() { // Connect the inSocket to the member-function, to read FlightGear commands
connect(inSocket, SIGNAL(readyRead()), this, SLOT(readPendingDatagrams()), Qt::DirectConnection);
- exec(); // Exec only returns, when the thread terminates...
+// exec(); // Exec only returns, when the thread terminates...
}
/** QThread terminate @override **/
|