diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2021-09-09 11:28:28 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2021-09-09 14:41:56 +0000 |
commit | 939cc5af218b041daa1519f26b6ada18572a7cf5 (patch) | |
tree | 73ff13958cc1c4e446201ac37f6886dc308278b9 /src/plugins/nim | |
parent | ecfe6b7fc1f92eb0e076406fb766fde8c8ec29b0 (diff) |
ProjectExplorer: Give build systems a name
... and make it accessible through a variable.
Fixes: QTCREATORBUG-26147
Change-Id: I0601c09a74360b91fe8421876207a8f4ae9d75b6
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r-- | src/plugins/nim/project/nimblebuildsystem.h | 2 | ||||
-rw-r--r-- | src/plugins/nim/project/nimbuildsystem.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/nim/project/nimblebuildsystem.h b/src/plugins/nim/project/nimblebuildsystem.h index 12032a98b9..cfd9972a53 100644 --- a/src/plugins/nim/project/nimblebuildsystem.h +++ b/src/plugins/nim/project/nimblebuildsystem.h @@ -82,7 +82,7 @@ private: bool deleteFiles(ProjectExplorer::Node *, const Utils::FilePaths &) override; bool renameFile(ProjectExplorer::Node *, const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) override; - + QString name() const final { return QLatin1String("mimble"); } void triggerParsing() final; std::vector<NimbleTask> m_tasks; diff --git a/src/plugins/nim/project/nimbuildsystem.h b/src/plugins/nim/project/nimbuildsystem.h index bc9e1e1a86..ed890c3e49 100644 --- a/src/plugins/nim/project/nimbuildsystem.h +++ b/src/plugins/nim/project/nimbuildsystem.h @@ -87,6 +87,7 @@ public: bool deleteFiles(ProjectExplorer::Node *, const Utils::FilePaths &) final; bool renameFile(ProjectExplorer::Node *, const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) final; + QString name() const final { return QLatin1String("nim"); } void triggerParsing() override; |