widgets/widgetapp/src/WidgetUiAppUi.cpp
branchRCL_3
changeset 46 30342f40acbf
parent 41 4bd5176e1bc8
child 48 79859ed3eea9
--- a/widgets/widgetapp/src/WidgetUiAppUi.cpp	Mon Jun 21 16:54:17 2010 +0300
+++ b/widgets/widgetapp/src/WidgetUiAppUi.cpp	Thu Jul 15 19:53:20 2010 +0300
@@ -304,6 +304,16 @@
 
     if ( aEvent.Type() == KAknUidValueEndKeyCloseEvent )
         {
+        	
+#ifdef BRDO_MULTITOUCH_ENABLED_FF
+        if( IsDisplayingDialog() ) 
+        	   {
+             //Get the top dialog
+             CCoeControl* control = TopFocusedControl();
+             delete control;
+             control = NULL;
+             }
+#endif
         // Close the current active widget
         iWindowManager->CloseWindowsAsync(EFalse);
         return;
@@ -378,7 +388,7 @@
             {            
 #ifdef OOM_WIDGET_CLOSEALL            
             CloseAllWidgetsAndExit();
-#else if    // OOM_WIDGET_CLOSEALL        
+#else //if    OOM_WIDGET_CLOSEALL        
             iWindowManager->HandleOOMEventL(iIsForeground);
             CloseAndExitIfNoneLeft();
 #endif            
@@ -558,7 +568,7 @@
     TUint32& aOperation )
     {
     __UHEAP_MARK;
-    TUint32 version( -1 );
+    TUint32 version( 0 );
     TPtrC ptr( NULL, 0 );
     
     RDesReadStream stream( aLine );