optional-qtwebengine-13-766c44173c83ec5b4eb4a4cc202e78bf35917724
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Mon, 8 Jun 2020 07:17:12 +0000 (08:17 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 8 Jun 2020 07:17:12 +0000 (08:17 +0100)
commit 766c44173c83ec5b4eb4a4cc202e78bf35917724
Author: Nathan Ho <nathan@snappizz.com>
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

index a6d1cbe55925cbc13d89ea29a489f7c6213c2184..ae707c1c27bc5c293a3be86313a32cd933fe89ba 100644 (file)
@@ -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"));