--- a/gssettingsuis/Gs/GSFramework/src/GSParentPlugin.cpp Tue Feb 02 00:22:03 2010 +0200
+++ b/gssettingsuis/Gs/GSFramework/src/GSParentPlugin.cpp Fri Feb 19 23:06:10 2010 +0200
@@ -139,6 +139,10 @@
iAppUi->RemoveFromViewStack( *this, iContainer );
delete iContainer;
}
+ if ( iPosition.Count() > 0)
+ {
+ iPosition.Close();
+ }
}
@@ -214,15 +218,15 @@
// Update listbox from already existing iPluginArray:
iContainer->UpdateListBoxL();
- if (position.Count() > 0)
+ if (iPosition.Count() > 0)
{
if (iScreenMode == Layout_Meta_Data::IsLandscapeOrientation())
{
- iContainer->SetPosition(position, EFalse);
+ iContainer->SetPosition(iPosition, EFalse);
}
else
{
- iContainer->SetPosition(position, ETrue);
+ iContainer->SetPosition(iPosition, ETrue);
}
}
iAppUi->AddToViewStackL(*this, iContainer);
@@ -268,11 +272,11 @@
if ( iContainer )
{
- if (position.Count() > 0)
+ if (iPosition.Count() > 0)
{
- position.Reset();
+ iPosition.Reset();
}
- TRAPD(err, iContainer->GetPositionL(position));
+ TRAPD(err, iContainer->GetPositionL(iPosition));
iScreenMode = Layout_Meta_Data::IsLandscapeOrientation();
iAppUi->RemoveFromViewStack(*this, iContainer);