diff -r 474929a40a0f -r 87476091b3f5 homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsmainwindow.cpp --- a/homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsmainwindow.cpp Wed Jul 14 15:53:30 2010 +0300 +++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsmainwindow.cpp Fri Jul 23 13:47:57 2010 +0300 @@ -51,12 +51,10 @@ Add the \menuView to first instance of HbMainWindow registered in HbInstance. \param view View to be added to HbMainWindow. */ -void HsMainWindow::setCurrentView(const HsMenuView &menuView) +void HsMainWindow::setCurrentView(HbView *view) { HbMainWindow *const hbW( HbInstance::instance()->allMainWindows().value(0)); - - HbView *const view = menuView.view(); if (!hbW->views().contains(view)) { hbW->addView(view);