forked from qt-creator/qt-creator
Implement support for project file open after AddFile action
Change-Id: I5f5372498a34760976cea5b7d6f5f49dd04558db Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -47,6 +47,7 @@ public:
|
||||
|
||||
bool showInSimpleTree() const final;
|
||||
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
|
||||
virtual Utils::optional<Utils::FileName> visibleAfterAddFileAction() const override;
|
||||
};
|
||||
|
||||
class CMakeProjectNode : public ProjectExplorer::ProjectNode
|
||||
@@ -74,6 +75,7 @@ public:
|
||||
|
||||
bool supportsAction(ProjectExplorer::ProjectAction action, const Node *node) const override;
|
||||
bool addFiles(const QStringList &filePaths, QStringList *notAdded) override;
|
||||
virtual Utils::optional<Utils::FileName> visibleAfterAddFileAction() const override;
|
||||
|
||||
private:
|
||||
QString m_tooltip;
|
||||
|
||||
Reference in New Issue
Block a user