From 2dd3661b0e9230d993c29a5ed5eefb01f1b41f6d Mon Sep 17 00:00:00 2001 From: birkeh Date: Tue, 19 Jun 2018 18:54:58 +0200 Subject: [PATCH] removed help from toolbar --- cmainwindow.cpp | 6 +++--- main.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmainwindow.cpp b/cmainwindow.cpp index f22378c..e3bb65d 100644 --- a/cmainwindow.cpp +++ b/cmainwindow.cpp @@ -449,13 +449,13 @@ void cMainWindow::createHelpActions() m_lpHelpMenu = menuBar()->addMenu(tr("&Help")); - lpAction = m_lpHelpMenu->addAction(contentsIcon, tr("&Contents"), this, &cMainWindow::onHelpContents); + lpAction = m_lpHelpMenu->addAction(tr("&Contents"), this, &cMainWindow::onHelpContents); lpAction->setPriority(QAction::LowPriority); lpAction->setShortcut(QKeySequence::HelpContents); - lpAction = m_lpHelpMenu->addAction(contentsIcon, tr("&Index"), this, &cMainWindow::onHelpIndex); + lpAction = m_lpHelpMenu->addAction(tr("&Index"), this, &cMainWindow::onHelpIndex); - lpAction = m_lpHelpMenu->addAction(aboutIcon, tr("&About"), this, &cMainWindow::onHelpAbout); + lpAction = m_lpHelpMenu->addAction(tr("&About"), this, &cMainWindow::onHelpAbout); lpAction->setPriority(QAction::LowPriority); lpAction->setShortcut(QKeySequence::HelpContents); } diff --git a/main.cpp b/main.cpp index 4688f53..a2b2f72 100644 --- a/main.cpp +++ b/main.cpp @@ -12,7 +12,7 @@ #include "csplashscreen.h" -//#define SHOW_SPLASH +#define SHOW_SPLASH int main(int argc, char *argv[]) {