diff --git a/cmainwindow.cpp b/cmainwindow.cpp index 3c415cc..f22378c 100644 --- a/cmainwindow.cpp +++ b/cmainwindow.cpp @@ -448,19 +448,14 @@ void cMainWindow::createHelpActions() QAction* lpAction; m_lpHelpMenu = menuBar()->addMenu(tr("&Help")); - m_lpHelpToolBar = addToolBar(tr("Help Actions")); - const QIcon contentsIcon = QIcon::fromTheme("help-contents"); lpAction = m_lpHelpMenu->addAction(contentsIcon, tr("&Contents"), this, &cMainWindow::onHelpContents); - m_lpHelpToolBar->addAction(lpAction); lpAction->setPriority(QAction::LowPriority); lpAction->setShortcut(QKeySequence::HelpContents); lpAction = m_lpHelpMenu->addAction(contentsIcon, tr("&Index"), this, &cMainWindow::onHelpIndex); - const QIcon aboutIcon = QIcon::fromTheme("help-about"); lpAction = m_lpHelpMenu->addAction(aboutIcon, tr("&About"), this, &cMainWindow::onHelpAbout); - m_lpHelpToolBar->addAction(lpAction); lpAction->setPriority(QAction::LowPriority); lpAction->setShortcut(QKeySequence::HelpContents); } diff --git a/cmainwindow.h b/cmainwindow.h index 41e4a26..9fa9b67 100644 --- a/cmainwindow.h +++ b/cmainwindow.h @@ -655,15 +655,14 @@ private: QMenu* m_lpFileMenu; /*!< Pointer to the file menu */ QMenu* m_lpEditMenu; /*!< Pointer to the edit menu */ QMenu* m_lpTextMenu; /*!< Pointer to the text menu */ - QMenu* m_lpToolsMenu; /*!< Pointer to the text menu */ - QMenu* m_lpWindowMenu; /*!< Pointer to the text menu */ - QMenu* m_lpHelpMenu; /*!< Pointer to the text menu */ + QMenu* m_lpToolsMenu; /*!< Pointer to the tools menu */ + QMenu* m_lpWindowMenu; /*!< Pointer to the window menu */ + QMenu* m_lpHelpMenu; /*!< Pointer to the help menu */ QToolBar* m_lpFileToolBar; /*!< Pointer to the file toolbar */ QToolBar* m_lpEditToolBar; /*!< Pointer to the edit toolbar */ QToolBar* m_lpTextToolBar; /*!< Pointer to the text toolbar */ QToolBar* m_lpFormatToolBar; /*!< Pointer to the text format toolbar*/ - QToolBar* m_lpHelpToolBar; /*!< Pointer to the text toolbar */ QAction* m_lpActionSave; /*!< Pointer to the File->Save action */ QAction* m_lpActionUndo; /*!< Pointer to the Undo action. This action is active for Text Edit widgets only. */