logsui/logsengine/src/logscall.cpp
changeset 2 7119b73b84d6
parent 0 4a5361db8937
child 8 6c9acdc6adc0
--- a/logsui/logsengine/src/logscall.cpp	Tue May 04 12:39:37 2010 +0300
+++ b/logsui/logsengine/src/logscall.cpp	Fri May 14 15:52:41 2010 +0300
@@ -25,6 +25,7 @@
 //SYSTEM
 #include <QVariant>
 #include <xqservicerequest.h>
+#include <xqrequestinfo.h>
 
 // -----------------------------------------------------------------------------
 //
@@ -190,6 +191,11 @@
     LOGS_QDEBUG_2( "logs [ENG] -> LogsCall::createcall(), num", num )
     XQServiceRequest snd(service, type, sync);
     snd << num;
+    // Start call at bg, call UI will bring itself to foreground when ever
+    // it thinks it is good time to do it.
+    XQRequestInfo info;
+    info.setBackground(true);
+    snd.setInfo(info);
     QVariant retValue;
     snd.send(retValue);
     LOGS_QDEBUG( "logs [ENG] <- LogsCall::createcall()" )
@@ -206,6 +212,11 @@
     LOGS_QDEBUG_2( "logs [ENG] -> LogsCall::createCallWithService(), num", serviceId )
     XQServiceRequest snd(service, type, sync);
     snd << num << serviceId;
+    // Start call at bg, call UI will bring itself to foreground when ever
+    // it thinks it is good time to do it.
+    XQRequestInfo info;
+    info.setBackground(true);
+    snd.setInfo(info);
     QVariant retValue;
     snd.send(retValue);
     LOGS_QDEBUG( "logs [ENG] <- LogsCall::createCallWithService()" )