forked from qt-creator/qt-creator
Pass the new node in ProjectTree::currentNodeChanged
Avoids some roundtrips asking for ProjectTree::currentNode() which traverses the project tree every time. Change-Id: I650728eab5a47a7f4760cf88844a4b7106365255 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
CMakeManager();
|
||||
|
||||
private:
|
||||
void updateCmakeActions();
|
||||
void updateCmakeActions(ProjectExplorer::Node *node);
|
||||
void clearCMakeCache(ProjectExplorer::BuildSystem *buildSystem);
|
||||
void runCMake(ProjectExplorer::BuildSystem *buildSystem);
|
||||
void rescanProject(ProjectExplorer::BuildSystem *buildSystem);
|
||||
|
||||
Reference in New Issue
Block a user