removed unnecessary accessibility commands
This commit is contained in:
parent
6e7562a091
commit
1490d36ce5
2 changed files with 1 additions and 4 deletions
|
@ -250,7 +250,6 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
|
||||||
|
|
||||||
// View menu --------------------------------------------------------------
|
// View menu --------------------------------------------------------------
|
||||||
pViewMenu = new QMenu ( "&View", this );
|
pViewMenu = new QMenu ( "&View", this );
|
||||||
pViewMenu->setAccessibleName ( "View menu" );
|
|
||||||
|
|
||||||
pViewMenu->addAction ( tr ( "&Chat..." ), this,
|
pViewMenu->addAction ( tr ( "&Chat..." ), this,
|
||||||
SLOT ( OnOpenChatDialog() ) );
|
SLOT ( OnOpenChatDialog() ) );
|
||||||
|
@ -266,7 +265,7 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
|
||||||
|
|
||||||
// Main menu bar -----------------------------------------------------------
|
// Main menu bar -----------------------------------------------------------
|
||||||
pMenu = new QMenuBar ( this );
|
pMenu = new QMenuBar ( this );
|
||||||
pMenu->setAccessibleName ( "Main menu" );
|
|
||||||
pMenu->addMenu ( pViewMenu );
|
pMenu->addMenu ( pViewMenu );
|
||||||
pMenu->addMenu ( new CLlconHelpMenu ( this ) );
|
pMenu->addMenu ( new CLlconHelpMenu ( this ) );
|
||||||
|
|
||||||
|
|
|
@ -403,8 +403,6 @@ QString CAboutDlg::GetVersionAndNameStr ( const bool bWithHtml )
|
||||||
// Help menu -------------------------------------------------------------------
|
// Help menu -------------------------------------------------------------------
|
||||||
CLlconHelpMenu::CLlconHelpMenu ( QWidget* parent ) : QMenu ( "&?", parent )
|
CLlconHelpMenu::CLlconHelpMenu ( QWidget* parent ) : QMenu ( "&?", parent )
|
||||||
{
|
{
|
||||||
setAccessibleName ( "Help menu" );
|
|
||||||
|
|
||||||
// standard help menu consists of about and what's this help
|
// standard help menu consists of about and what's this help
|
||||||
addAction ( tr ( "What's &This" ), this,
|
addAction ( tr ( "What's &This" ), this,
|
||||||
SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );
|
SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );
|
||||||
|
|
Loading…
Reference in a new issue