From 1490d36ce5eb9cdac4f6602e18d8a3f74bc7acb5 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 28 Nov 2009 11:00:16 +0000 Subject: [PATCH] removed unnecessary accessibility commands --- src/llconclientdlg.cpp | 3 +-- src/util.cpp | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/llconclientdlg.cpp b/src/llconclientdlg.cpp index 046922db..39ad07b6 100755 --- a/src/llconclientdlg.cpp +++ b/src/llconclientdlg.cpp @@ -250,7 +250,6 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, // View menu -------------------------------------------------------------- pViewMenu = new QMenu ( "&View", this ); - pViewMenu->setAccessibleName ( "View menu" ); pViewMenu->addAction ( tr ( "&Chat..." ), this, SLOT ( OnOpenChatDialog() ) ); @@ -266,7 +265,7 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, // Main menu bar ----------------------------------------------------------- pMenu = new QMenuBar ( this ); - pMenu->setAccessibleName ( "Main menu" ); + pMenu->addMenu ( pViewMenu ); pMenu->addMenu ( new CLlconHelpMenu ( this ) ); diff --git a/src/util.cpp b/src/util.cpp index d6a79564..371f4042 100755 --- a/src/util.cpp +++ b/src/util.cpp @@ -403,8 +403,6 @@ QString CAboutDlg::GetVersionAndNameStr ( const bool bWithHtml ) // Help menu ------------------------------------------------------------------- CLlconHelpMenu::CLlconHelpMenu ( QWidget* parent ) : QMenu ( "&?", parent ) { - setAccessibleName ( "Help menu" ); - // standard help menu consists of about and what's this help addAction ( tr ( "What's &This" ), this, SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );