forked from qt-creator/qt-creator
ProjectExplorer: Remove Project manager parameter from some constructors
Can be done generically when creating projects. The only wart is the use from BaseQmakeProjectWizardDialog::writeUserFile. Change-Id: Ie98c9f88ec142e82443e204a0075e3ae9e163752 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -54,10 +54,9 @@ namespace Nim {
|
||||
|
||||
const int MIN_TIME_BETWEEN_PROJECT_SCANS = 4500;
|
||||
|
||||
NimProject::NimProject(NimProjectManager *projectManager, const QString &fileName)
|
||||
NimProject::NimProject(const QString &fileName)
|
||||
{
|
||||
setId(Constants::C_NIMPROJECT_ID);
|
||||
setProjectManager(projectManager);
|
||||
setDocument(new TextEditor::TextDocument);
|
||||
document()->setFilePath(FileName::fromString(fileName));
|
||||
QFileInfo fi = QFileInfo(fileName);
|
||||
|
||||
Reference in New Issue
Block a user