QmakeProjectManager: Remove some local aliases

... for ProjectTree functions.

Change-Id: Ia3608e79e046a13305995bfc07eb32cbe53060cf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-04-30 12:54:47 +02:00
parent d4c5a6f9b2
commit 28de30df18
3 changed files with 9 additions and 18 deletions

View File

@@ -376,7 +376,7 @@ void QmakeProjectManagerPluginPrivate::updateContextActions()
const auto *proFileNode = dynamic_cast<const QmakeProFileNode *>(containerNode ? containerNode->rootProjectNode() : node);
m_addLibraryActionContextMenu->setEnabled(proFileNode);
auto *qmakeProject = qobject_cast<QmakeProject *>(QmakeManager::contextProject());
auto *qmakeProject = qobject_cast<QmakeProject *>(project);
QmakeProFileNode *subProjectNode = nullptr;
disableBuildFileMenus();
if (node) {