diff -r 1f1fcd7e941c -r 8dde790cab74 connectionmonitoring/connectionview/src/connectionview.cpp --- a/connectionmonitoring/connectionview/src/connectionview.cpp Thu May 13 23:17:48 2010 +0300 +++ b/connectionmonitoring/connectionview/src/connectionview.cpp Fri May 14 10:52:16 2010 +0300 @@ -143,10 +143,12 @@ // Create the toolbar and the disconnection action mToolBar = new HbToolBar(); HbIcon icon("qtg_mono_disconnect"); - mDisconnectAction = mToolBar->addAction(icon, hbTrId("txt_occ_button_disconnect_all")); + HbAction *disconnectAction = new HbAction(mToolBar); + disconnectAction->setIcon(icon); + mToolBar->addAction(disconnectAction); mMainView->setToolBar(mToolBar); bool connectStatus = connect( - mDisconnectAction, + disconnectAction, SIGNAL(triggered(bool)), this, SLOT(disconnectAll()));