satui/satapp/src/satappaction.cpp
changeset 35 6aefa3341fcc
parent 33 8d5d7fcf9b59
--- a/satui/satapp/src/satappaction.cpp	Wed Jul 21 18:26:52 2010 +0300
+++ b/satui/satapp/src/satappaction.cpp	Fri Jul 23 12:32:49 2010 +0300
@@ -80,6 +80,12 @@
     mState=Waiting;
     qDebug("SATAPP: waitUntilCompleted: waiting...");
     loop.exec();
+    // When use the FSW complete the satapp, the signal aboutToExit
+    // can not be recieved. temp solution
+    if(Waiting == mState){
+        mState=Completed;
+        mResponse=ESatSessionTerminatedByUser;
+    }
     qDebug("SATAPP: waitUntilCompleted: ...released");
 }