webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp
changeset 65 5bfc169077b2
parent 42 d39add9822e2
--- a/webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp	Tue Feb 02 00:56:45 2010 +0200
+++ b/webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp	Fri Mar 19 09:52:28 2010 +0200
@@ -77,7 +77,7 @@
     	r = RProperty::Define( KPropertyCat, iKey, RProperty::EInt );
     	}
 
-    if ( r != KErrAlreadyExists && r != KErrNone )
+    if ( r != KErrAlreadyExists || r != KErrNone )
         {
         User::LeaveIfError( r );
         }
@@ -148,21 +148,9 @@
             iHarvester->ClearAllOperations();
             SetValue(1);
             }
-        else if( iKey == EWidgetUIState && value == 3 )
-            {            
-            iHarvester->SetReinstallWidget(ETrue);
-            }        
         else if( iKey == EWidgetRegAltered && value == 1 )
             {
-            if(iHarvester->IsInMSMode())
-                {
-                iHarvester->SetRegistryAccess(EFalse);
-                }
-            else
-            	{
-            	iHarvester->SetRegistryAccess(ETrue);
-                } 	
-            iHarvester->UpdateL();
+             iHarvester->UpdateL();
             }
         }
     }