summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprojectmanager/qmlprojectmanager.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-02-28 16:07:53 +0100
committerhjk <hjk@qt.io>2017-02-28 16:14:35 +0000
commit50d16908541026dbbb0523566dafb5ed291e383a (patch)
tree2c2ac3bb55e19f549320f71f23ca640182e59494 /src/plugins/qmlprojectmanager/qmlprojectmanager.h
parent3490c5751d611838ed8ad80afe1ef5fa1b0cf6c7 (diff)
downloadqt-creator-50d16908541026dbbb0523566dafb5ed291e383a.tar.gz
ProjectManager: Centralize "File not found handling"
That's the only error that was ever checked for, in all nine project manager. In the hypothetical case that we'll need something else than the name of a file to identify a "project file", we'd probably need to touch the signature anyway. Until then, remove the duplication. Change-Id: Iba00b8f71309a908e2d29c0a58c50b685eca0cae Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectmanager.h')
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectmanager.h b/src/plugins/qmlprojectmanager/qmlprojectmanager.h
index 0b0038fa6b..0d49694a75 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectmanager.h
+++ b/src/plugins/qmlprojectmanager/qmlprojectmanager.h
@@ -39,7 +39,7 @@ public:
Manager();
QString mimeType() const override;
- ProjectExplorer::Project *openProject(const QString &fileName, QString *errorString) override;
+ ProjectExplorer::Project *openProject(const QString &fileName) override;
};
} // namespace Internal