contentstorage/caclient/stub/src/hswidgetregistryservice.cpp
changeset 124 e36b2f4799c0
parent 104 9b022b1f357c
--- a/contentstorage/caclient/stub/src/hswidgetregistryservice.cpp	Fri Sep 17 08:32:18 2010 +0300
+++ b/contentstorage/caclient/stub/src/hswidgetregistryservice.cpp	Mon Oct 04 00:38:31 2010 +0300
@@ -169,10 +169,10 @@
             
             HsWidgetComponentDescriptor widgetDescriptor = componentParser.widgetComponentDescriptor();            
             widgetDescriptor.library = manifestFilePath + "/" + widgetDescriptor.uri + ".dll";
-            if (widgetDescriptor.iconUri.length() > 0 ) {
+            if (widgetDescriptor.iconUri.length() > 0 && widgetDescriptor.iconUri.contains('.')) {
                 widgetDescriptor.iconUri = manifestFilePath + "/" + widgetDescriptor.iconUri;
             }            
-            if (widgetDescriptor.previewImage.length() > 0 ) {
+            if (widgetDescriptor.previewImage.length() > 0 && widgetDescriptor.previewImage.contains('.')) {
                 widgetDescriptor.previewImage = manifestFilePath + "/" + widgetDescriptor.previewImage;
             }