From bbe95f37fc281e411d6d244215d6f89be89d8737 Mon Sep 17 00:00:00 2001 From: Debian Multimedia Maintainers Date: Sat, 29 Jun 2019 02:02:25 +0100 Subject: [PATCH] optional-qtwebengine-13-766c44173c83ec5b4eb4a4cc202e78bf35917724 commit 766c44173c83ec5b4eb4a4cc202e78bf35917724 Author: Nathan Ho Date: Sat Jun 8 15:55:47 2019 -0700 scide: Remove IDE help menu item when SC_USE_QTWEBENGINE is off Gbp-Pq: Name optional-qtwebengine-13-766c44173c83ec5b4eb4a4cc202e78bf35917724 --- editors/sc-ide/widgets/main_window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editors/sc-ide/widgets/main_window.cpp b/editors/sc-ide/widgets/main_window.cpp index a6d1cbe..ae707c1 100644 --- a/editors/sc-ide/widgets/main_window.cpp +++ b/editors/sc-ide/widgets/main_window.cpp @@ -446,10 +446,12 @@ void MainWindow::createActions() connect(action, SIGNAL(triggered()), this, SLOT(openHelp())); settings->addAction(action, "help-browser", helpCategory); +#ifdef SC_USE_QTWEBENGINE mActions[HelpAboutIDE] = action = new QAction(QIcon::fromTheme("system-help"), tr("How to Use SuperCollider IDE"), this); action->setStatusTip(tr("Open the SuperCollider IDE guide")); connect(action, SIGNAL(triggered()), this, SLOT(openHelpAboutIDE())); +#endif // SC_USE_QTWEBENGINE mActions[ReportABug] = action = new QAction(QIcon::fromTheme("system-help"), tr("Report a bug..."), this); action->setStatusTip(tr("Report a bug")); -- 2.30.2