1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

Merge pull request #35 from paul-jewell/menu_item_change4

Removed OpenPilot reference in About Menu
This commit is contained in:
a*morale 2015-07-19 13:17:39 +02:00
commit 67b2d0ec50
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
TEMPLATE = lib TEMPLATE = lib
TARGET = Core TARGET = Core
DEFINES += CORE_LIBRARY DEFINES += CORE_LIBRARY
DEFINES += ORG_BIG_NAME=$$shell_quote(\"$$ORG_BIG_NAME\")
QT += qml \ QT += qml \
quick \ quick \
xml \ xml \

View File

@ -748,7 +748,7 @@ void MainWindow::registerDefaultActions()
connect(tmpaction, SIGNAL(triggered()), this, SLOT(aboutPlugins())); connect(tmpaction, SIGNAL(triggered()), this, SLOT(aboutPlugins()));
// Credits Action // Credits Action
tmpaction = new QAction(QIcon(Constants::ICON_PLUGIN), tr("About &OpenPilot..."), this); tmpaction = new QAction(QIcon(Constants::ICON_PLUGIN), tr("About &%1...").arg(ORG_BIG_NAME), this);
cmd = am->registerAction(tmpaction, Constants::ABOUT_AUTHORS, m_globalContext); cmd = am->registerAction(tmpaction, Constants::ABOUT_AUTHORS, m_globalContext);
mhelp->addAction(cmd, Constants::G_HELP_ABOUT); mhelp->addAction(cmd, Constants::G_HELP_ABOUT);
tmpaction->setEnabled(true); tmpaction->setEnabled(true);