contentstorage/caclient/stub/src/hswidgetregistryservice.cpp
changeset 119 50e220be30d1
parent 99 7aaf39b772ac
--- a/contentstorage/caclient/stub/src/hswidgetregistryservice.cpp	Mon Sep 13 13:26:33 2010 +0300
+++ b/contentstorage/caclient/stub/src/hswidgetregistryservice.cpp	Mon Sep 20 10:22:22 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;
             }