summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FGServer.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-12-24 18:58:17 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-12-24 18:58:17 +0000
commite007864f430012ac03455142b3910760df03987d (patch)
treeed1d358f61ffbd19788670da593e17a20b2a276e /FaceTrackNoIR/FGServer.cpp
parent53231950ec75f67a931d47b78987a6bcac9d2eb0 (diff)
Removed QThread reference of protocol server-code.
Have still to adapt some of them though... git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@32 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FGServer.cpp')
-rw-r--r--FaceTrackNoIR/FGServer.cpp6
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 **/