--- a/qthighway/xqservice/src/xqaiwrequest.cpp Fri Jun 11 14:26:25 2010 +0300
+++ b/qthighway/xqservice/src/xqaiwrequest.cpp Wed Jun 23 19:08:38 2010 +0300
@@ -104,8 +104,8 @@
}
else
{
- // This means descriptor is incompete and created for carrying implementation information only.
- // See XQApplicationManagerPrivate::getAppDescriptor or XQApplicationManagerPrivate::listMimeHandlers
+ // The is no service provider for the file.
+ // So as backup plan, apply file driver to handle non-service file launches
XQSERVICE_DEBUG_PRINT("Apply file driver");
currentRequest = new XQAiwFileDriver(file, descriptor, operation);
}
@@ -133,8 +133,13 @@
XQSERVICE_DEBUG_PRINT("Apply service driver");
currentRequest = new XQAiwServiceDriver(descriptor, operation);
}
-
- // No other way to pass sharable file as via service request
+ else
+ {
+ // The is no service provider for the file.
+ // So as backup plan, apply file driver to handle non-service file launches
+ XQSERVICE_DEBUG_PRINT("Apply file driver");
+ currentRequest = new XQAiwFileDriver(file, descriptor, operation);
+ }
}