forked from qt-creator/qt-creator
ProjectExplorer: Fix typo in variable name
Copy-pasted in 2 other plugins. Change-Id: I1a76ce7490505f43e2d5fe0fe4cc57d480607db9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
2249765041
commit
76c0149ceb
@@ -135,7 +135,7 @@ bool QmakeProjectManagerPlugin::initialize(const QStringList &arguments, QString
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(errorMessage)
|
||||
const Context projectContext(QmakeProjectManager::Constants::QMAKEPROJECT_ID);
|
||||
Context projecTreeContext(ProjectExplorer::Constants::C_PROJECT_TREE);
|
||||
Context projectTreeContext(ProjectExplorer::Constants::C_PROJECT_TREE);
|
||||
|
||||
d = new QmakeProjectManagerPluginPrivate;
|
||||
|
||||
@@ -280,7 +280,7 @@ bool QmakeProjectManagerPlugin::initialize(const QStringList &arguments, QString
|
||||
|
||||
d->m_addLibraryActionContextMenu = new QAction(tr("Add Library..."), this);
|
||||
command = ActionManager::registerAction(d->m_addLibraryActionContextMenu,
|
||||
Constants::ADDLIBRARY, projecTreeContext);
|
||||
Constants::ADDLIBRARY, projectTreeContext);
|
||||
connect(d->m_addLibraryActionContextMenu, &QAction::triggered,
|
||||
&d->qmakeProjectManager, &QmakeManager::addLibraryContextMenu);
|
||||
mproject->addAction(command, ProjectExplorer::Constants::G_PROJECT_FILES);
|
||||
|
||||
Reference in New Issue
Block a user