diff -r 30f14686fb04 -r 2b1b11a301d2 homescreenapp/hsdomainmodel/src/hswidgetcomponentregistry.cpp --- a/homescreenapp/hsdomainmodel/src/hswidgetcomponentregistry.cpp Wed Jun 23 18:03:36 2010 +0300 +++ b/homescreenapp/hsdomainmodel/src/hswidgetcomponentregistry.cpp Tue Jul 06 14:06:53 2010 +0300 @@ -38,8 +38,8 @@ \ingroup group_hsdomainmodel \brief Homescreen widget component registry. - Homescreen widget component registry keeps track of packages from which is(are) - created widget(s) to homescreen page(s). Registry updates its content + Widget component registry contains HsWidgetComponent instances. All widget instances from same type + are refering to one HsWidgetComponent. Registry updates its content when the installation package is uninstalled/updated or installation location is( or is not) available (media attached/detached). Registry takes care of package registration/unregistration to Qt service framework. @@ -92,7 +92,7 @@ */ void HsWidgetComponentRegistry::uninstallComponent(const HsWidgetComponentDescriptor &componentDescriptor) { - HsWidgetComponent *component = mRegistry.value(componentDescriptor.uri); + HsWidgetComponent *component = mRegistry.value(componentDescriptor.uri()); if (component) { component->emitAboutToUninstall(); }