From: Debian Multimedia Maintainers Date: Mon, 8 Jun 2020 07:17:12 +0000 (+0100) Subject: optional-qtwebengine-13-766c44173c83ec5b4eb4a4cc202e78bf35917724 X-Git-Tag: archive/raspbian/1%3.10.4+repack-1+rpi1~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=889675d8a41157ff2caa3558edddb332f2d9d545;p=supercollider.git 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 --- 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"));