mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-1174 unrelated cleanup :)
This commit is contained in:
parent
f4f3f74948
commit
4b379a1816
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user