equal
deleted
inserted
replaced
123 |
123 |
124 bool XQAiwServiceDriver::send(QVariant& retValue) |
124 bool XQAiwServiceDriver::send(QVariant& retValue) |
125 { |
125 { |
126 XQSERVICE_DEBUG_PRINT("XQAiwServiceDriver::send>>>"); |
126 XQSERVICE_DEBUG_PRINT("XQAiwServiceDriver::send>>>"); |
127 |
127 |
128 // Update info (the ones given by explicit method calls count) |
128 // Update info (these ones can be given via XQAiwRequest function count) |
129 XQRequestInfo opt = info(); |
129 XQRequestInfo opt = info(); |
130 opt.setEmbedded(mEmbedded); |
130 QVariant emb = opt.info(XQServiceUtils::OptEmbedded); |
131 opt.setBackground(mBackground); |
131 QVariant bg = opt.info(XQServiceUtils::OptBackground); |
|
132 if (!emb.isValid()) |
|
133 { |
|
134 // Not set via setInfo |
|
135 opt.setEmbedded(mEmbedded); |
|
136 } |
|
137 if (!bg.isValid()) |
|
138 { |
|
139 // Not set via setInfo |
|
140 opt.setBackground(mBackground); |
|
141 } |
132 currentRequest->setInfo(opt); |
142 currentRequest->setInfo(opt); |
133 |
143 |
134 QStringList list; |
144 QStringList list; |
135 bool res = true; |
145 bool res = true; |
136 if (!currentRequest->isSynchronous() && !asyncErrorSet) |
146 if (!currentRequest->isSynchronous() && !asyncErrorSet) |