From 4b379a1816d8535c87cdc49c94ee150e59915b63 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Fri, 2 May 2014 08:56:09 +0200 Subject: [PATCH] OP-1174 unrelated cleanup :) --- .../src/plugins/coreplugin/mainwindow.cpp | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp b/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp index 197058f29..12b89cd46 100644 --- a/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp +++ b/ground/openpilotgcs/src/plugins/coreplugin/mainwindow.cpp @@ -743,26 +743,15 @@ void MainWindow::registerDefaultActions() tmpaction->setEnabled(true); connect(tmpaction, SIGNAL(triggered()), this, SLOT(showHelp())); - // About sep -#ifndef Q_WS_MAC // doesn't have the "About" actions in the Help menu + // About GCS Action + // Mac doesn't have the "About" actions in the Help menu +#ifndef Q_WS_MAC tmpaction = new QAction(this); tmpaction->setSeparator(true); cmd = am->registerAction(tmpaction, QLatin1String("QtCreator.Help.Sep.About"), m_globalContext); mhelp->addAction(cmd, Constants::G_HELP_ABOUT); #endif - // About GCS Action -#ifdef Q_WS_MAC - -#else - -#endif - -#ifdef Q_WS_MAC - -#endif - connect(tmpaction, SIGNAL(triggered()), this, SLOT(aboutOpenPilotGCS())); - // About Plugins Action tmpaction = new QAction(QIcon(Constants::ICON_PLUGIN), tr("About &Plugins..."), this); cmd = am->registerAction(tmpaction, Constants::ABOUT_PLUGINS, m_globalContext);