forked from qt-creator/qt-creator
ProjectExplorer: Follow up on too-much-magic in IProjectManager
Use a ProjectManager::registerProjectType<Project>(MimeType) function, removing cryptic IProjectManager object ownership. Change-Id: I212cd25bd4ee757022a8cb0decb4b8de3a112d12 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include "autotoolsproject.h"
|
||||
#include "autotoolsbuildconfiguration.h"
|
||||
#include "autotoolsprojectconstants.h"
|
||||
#include "autotoolsmanager.h"
|
||||
#include "autotoolsprojectnode.h"
|
||||
#include "autotoolsprojectfile.h"
|
||||
#include "autotoolsopenprojectwizard.h"
|
||||
@@ -69,7 +68,7 @@ using namespace AutotoolsProjectManager;
|
||||
using namespace AutotoolsProjectManager::Internal;
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
AutotoolsProject::AutotoolsProject(const QString &fileName) :
|
||||
AutotoolsProject::AutotoolsProject(const Utils::FileName &fileName) :
|
||||
m_fileWatcher(new Utils::FileSystemWatcher(this)),
|
||||
m_cppCodeModelUpdater(new CppTools::CppProjectUpdater(this))
|
||||
{
|
||||
|
Reference in New Issue
Block a user