forked from qt-creator/qt-creator
Project: Add setDocument method
Add setDocument method, implement document method, use this in all projects. Change-Id: I5018bf7c2739665c13eee340184ce7c41fd319bb Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -37,9 +37,7 @@
|
||||
using namespace AutotoolsProjectManager;
|
||||
using namespace AutotoolsProjectManager::Internal;
|
||||
|
||||
AutotoolsProjectFile::AutotoolsProjectFile(AutotoolsProject *project, const QString &fileName) :
|
||||
Core::IDocument(project),
|
||||
m_project(project)
|
||||
AutotoolsProjectFile::AutotoolsProjectFile(const QString &fileName)
|
||||
{
|
||||
setId("Autotools.ProjectFile");
|
||||
setMimeType(QLatin1String(Constants::MAKEFILE_MIMETYPE));
|
||||
|
||||
Reference in New Issue
Block a user