--- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsmenuworkerstate.cpp Fri May 14 15:43:04 2010 +0300
+++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/src/hsmenuworkerstate.cpp Thu May 27 12:46:08 2010 +0300
@@ -26,6 +26,7 @@
#include "hsarrangestate.h"
#include "hspreviewhswidgetstate.h"
#include "hsviewappsettingsstate.h"
+#include "hsviewappdetailsstate.h"
/*!
\class HsMenuWorkerState
@@ -103,9 +104,10 @@
// set a transition to the initial state after child processing finished
addAppsToCollectionState->addTransition(addAppsToCollectionState,
SIGNAL(finished()), mInitialState);
-
+ connect(this, SIGNAL(reset()), addAppsToCollectionState, SIGNAL(finished()));
createChildState<HsPreviewHSWidgetState> (HsMenuEvent::PreviewHSWidget);
createChildState<HsViewAppSettingsState> (HsMenuEvent::ShowAppSettings);
+ createChildState<HsViewAppDetailsState> (HsMenuEvent::ShowAppDetails);
HSMENUTEST_FUNC_EXIT("HsMenuWorkerState::construct");
}
@@ -130,6 +132,7 @@
mInitialState->addTransition(newChildStateTransition);
// set a transition to the initial state after child processing finished
newChildState->addTransition(newChildState, SIGNAL(exit()), mInitialState);
+ connect(this, SIGNAL(reset()), newChildState, SIGNAL(exit()));
HSMENUTEST_FUNC_EXIT("HsMenuWorkerState::createChildState");
return newChildState;