1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-05 21:52:10 +01:00

OP-1174 unrelated cleanup :)

This commit is contained in:
Philippe Renon 2014-05-02 08:56:09 +02:00
parent f4f3f74948
commit 4b379a1816

View File

@ -743,26 +743,15 @@ void MainWindow::registerDefaultActions()
tmpaction->setEnabled(true); tmpaction->setEnabled(true);
connect(tmpaction, SIGNAL(triggered()), this, SLOT(showHelp())); connect(tmpaction, SIGNAL(triggered()), this, SLOT(showHelp()));
// About sep // About GCS Action
#ifndef Q_WS_MAC // doesn't have the "About" actions in the Help menu // Mac doesn't have the "About" actions in the Help menu
#ifndef Q_WS_MAC
tmpaction = new QAction(this); tmpaction = new QAction(this);
tmpaction->setSeparator(true); tmpaction->setSeparator(true);
cmd = am->registerAction(tmpaction, QLatin1String("QtCreator.Help.Sep.About"), m_globalContext); cmd = am->registerAction(tmpaction, QLatin1String("QtCreator.Help.Sep.About"), m_globalContext);
mhelp->addAction(cmd, Constants::G_HELP_ABOUT); mhelp->addAction(cmd, Constants::G_HELP_ABOUT);
#endif #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 // About Plugins Action
tmpaction = new QAction(QIcon(Constants::ICON_PLUGIN), tr("About &Plugins..."), this); tmpaction = new QAction(QIcon(Constants::ICON_PLUGIN), tr("About &Plugins..."), this);
cmd = am->registerAction(tmpaction, Constants::ABOUT_PLUGINS, m_globalContext); cmd = am->registerAction(tmpaction, Constants::ABOUT_PLUGINS, m_globalContext);