satui/satapp/src/satappview.cpp
changeset 19 e44a8c097b15
parent 15 d7fc66ccd6fb
child 27 7eb70891911c
--- a/satui/satapp/src/satappview.cpp	Mon May 03 13:01:45 2010 +0300
+++ b/satui/satapp/src/satappview.cpp	Fri May 14 16:24:46 2010 +0300
@@ -105,7 +105,7 @@
     mListWidget = qobject_cast<HbListWidget *>
         ( mUi->docmlLoader()->findWidget(SATAPP_MENUITEM ));
     if (mListWidget && mWindow) {
-        mSoftKeyQuitAction = new HbAction(Hb::QuitAction,this);
+        mSoftKeyQuitAction = new HbAction(Hb::QuitNaviAction,this);
         HbAction *menuAction = menu()->addAction("Exit");
         bool ret = connect(menuAction, SIGNAL(triggered()),
                        mSoftKeyQuitAction, SIGNAL(triggered()));
@@ -141,7 +141,7 @@
         ( mUi->docmlLoader()->findWidget(SATAPP_SELECTITEM ));
 
     if (mSelectListWidget && mWindow) {
-        mSoftKeyBackAction = new HbAction(Hb::BackAction,this);
+        mSoftKeyBackAction = new HbAction(Hb::BackNaviAction,this);
         HbAction *menuBack = menu()->addAction("Back");
         bool ret = connect(menuBack, SIGNAL(triggered()),
                        mSoftKeyBackAction, SIGNAL(triggered()));
@@ -211,7 +211,7 @@
     const QString& aText,
     const QStringList& aMenuItems,
     //const CArrayFixFlat<TSatAction>* aMenuItemNextActions,
-    const int aDefaultItem,
+    const int /*aDefaultItem*/,
     unsigned char& aSelection,
     //const HbIcon& aIcon,
     //const CAknIconArray* aItemsIconArray,
@@ -224,10 +224,7 @@
     aRes =  ESatSuccess;
     mSelectItem = true;
     mClickBackSoftkey = false;
-    if (mWindow){
-        mWindow->setCurrentViewIndex(aDefaultItem);
-    }
-    
+
     // Set sub title
     if (!aText.isEmpty()) {
         mSubTitle->setPlainText(aText);