qthighway/xqserviceutil/src/xqservicemanager.cpp
changeset 5 453da2cfceef
parent 4 90517678cc4f
child 8 71781823f776
--- a/qthighway/xqserviceutil/src/xqservicemanager.cpp	Mon May 03 13:18:40 2010 +0300
+++ b/qthighway/xqserviceutil/src/xqservicemanager.cpp	Fri May 14 16:41:33 2010 +0300
@@ -526,14 +526,16 @@
                 if ((!serviceName.compare(sn,Qt::CaseInsensitive)) ||
                     (deprNameExists && !serviceName.compare(snDeprecated,Qt::CaseInsensitive)))
                     {
+                    TUid appUid = implArray[ii].Uid();
                     if (!firstUidPicked)
                         {
-                        aAppUid = implArray[ii].Uid();
+                        aAppUid = appUid;
                         firstUidPicked = ETrue;
+                        XQSERVICE_DEBUG_PRINT("First service found UID3=%x", appUid.iUid);
                         }
-                    XQSERVICE_DEBUG_PRINT("Service found %x", aAppUid);
+                    XQSERVICE_DEBUG_PRINT("Service found UID3=%x", appUid.iUid);
                     //  Add impl. UID to interface
-                    interface.setProperty(XQAiwInterfaceDescriptor::ImplementationId, (int)aAppUid.iUid);
+                    interface.setProperty(XQAiwInterfaceDescriptor::ImplementationId, (int)appUid.iUid);
                     found = ETrue;
 
                     // Add the matched interface to result set