Index: /trunk/BNS/bns.cpp
===================================================================
--- /trunk/BNS/bns.cpp	(revision 823)
+++ /trunk/BNS/bns.cpp	(revision 824)
@@ -32,11 +32,4 @@
   // ---------------------------------------
   _bnseph = new t_bnseph(parent);
-
-  connect(_bnseph, SIGNAL(newEph(gpsEph*)), 
-          this, SLOT(slotNewEph(gpsEph*)), Qt::DirectConnection);
-  connect(_bnseph, SIGNAL(newMessage(QByteArray)),
-          this, SLOT(slotMessage(const QByteArray)), Qt::DirectConnection);
-  connect(_bnseph, SIGNAL(error(QByteArray)),
-          this, SLOT(slotError(const QByteArray)), Qt::DirectConnection);
 
   // Server listening for rtnet results
@@ -46,6 +39,4 @@
   _clkServer = new QTcpServer;
   _clkServer->listen(QHostAddress::Any, settings.value("clkPort").toInt());
-  connect(_clkServer, SIGNAL(newConnection()),this, 
-          SLOT(slotNewConnection()), Qt::DirectConnection);
 
   // Socket and file for outputting the results
@@ -217,4 +208,18 @@
   _bnseph->start();
 
+  // Connect Slots-Signals
+  // ---------------------
+  connect(_bnseph, SIGNAL(newEph(gpsEph*)), 
+          this, SLOT(slotNewEph(gpsEph*)));
+
+  connect(_bnseph, SIGNAL(newMessage(QByteArray)),
+          this, SLOT(slotMessage(const QByteArray)));
+
+  connect(_bnseph, SIGNAL(error(QByteArray)),
+          this, SLOT(slotError(const QByteArray)));
+
+  connect(_clkServer, SIGNAL(newConnection()),this, 
+          SLOT(slotNewConnection()));
+
   // Endless loop
   // ------------
