Index: trunk/BNC/src/combination/bnccomb.cpp
===================================================================
--- trunk/BNC/src/combination/bnccomb.cpp	(revision 4992)
+++ trunk/BNC/src/combination/bnccomb.cpp	(revision 5066)
@@ -163,5 +163,5 @@
 
   connect(this, SIGNAL(newMessage(QByteArray,bool)), 
-          ((bncApp*)qApp), SLOT(slotMessage(const QByteArray,bool)));
+          PGM_CORE, SLOT(slotMessage(const QByteArray,bool)));
 
   // Combination Method
@@ -750,7 +750,6 @@
   // Optionally send new Corrections to PPP
   // --------------------------------------
-  bncApp* app = (bncApp*) qApp;
-  if (app->_bncPPPclient) {
-    app->_bncPPPclient->slotNewCorrections(corrLines);
+  if (PGM_CORE->_bncPPPclient) {
+    PGM_CORE->_bncPPPclient->slotNewCorrections(corrLines);
   }
 }
