diff -r 23b5d6a29cce -r 4785f57bf3d4 homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsinstalledappsstate.cpp --- a/homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsinstalledappsstate.cpp Fri May 14 15:43:04 2010 +0300 +++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsinstalledappsstate.cpp Thu May 27 12:46:08 2010 +0300 @@ -34,6 +34,7 @@ #include "hsaddappstocollectionstate.h" #include "hsapp_defs.h" #include "hsmenumodetransition.h" +#include "hsmainwindow.h" /*! \class HsInstalledAppsState @@ -75,11 +76,13 @@ \param parent Owner. */ HsInstalledAppsState::HsInstalledAppsState(HsMenuViewBuilder &menuViewBuilder, + HsMainWindow &mainWindow, QState *parent): QState(parent), mMenuView(menuViewBuilder, HsInstalledAppsContext), mInstalledAppsModel(0), mSecondarySoftkeyAction(new HbAction(Hb::BackNaviAction, this)), + mMainWindow(mainWindow), mContextModelIndex(),mContextMenu(0) { construct(); @@ -146,6 +149,7 @@ qDebug("AllAppsState::stateEntered()"); HSMENUTEST_FUNC_ENTRY("HsInstalledAppsState::stateEntered"); + mMainWindow.setCurrentView(mMenuView); mMenuView.activate(); if (!mInstalledAppsModel) {