forked from qt-creator/qt-creator
ProjectManagers: Cleanup
Remove unused class members, declarations, includes, unneeded ::projectManager overloads etc. Change-Id: I0f4ae87414faca226554722e2a9147cb5512495d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "qmlprojectnodes.h"
|
||||
#include "qmlprojectmanager.h"
|
||||
|
||||
#include <coreplugin/icontext.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/messagemanager.h>
|
||||
#include <coreplugin/documentmanager.h>
|
||||
@@ -50,11 +51,10 @@ using namespace ProjectExplorer;
|
||||
|
||||
namespace QmlProjectManager {
|
||||
|
||||
QmlProject::QmlProject(Internal::Manager *manager, const Utils::FileName &fileName) :
|
||||
QmlProject::QmlProject(const Utils::FileName &fileName) :
|
||||
m_defaultImport(UnknownImport)
|
||||
{
|
||||
setId("QmlProjectManager.QmlProject");
|
||||
setProjectManager(manager);
|
||||
setDocument(new Internal::QmlProjectFile(this, fileName));
|
||||
DocumentManager::addDocument(document(), true);
|
||||
setRootProjectNode(new Internal::QmlProjectNode(this));
|
||||
@@ -273,11 +273,6 @@ QString QmlProject::displayName() const
|
||||
return m_projectName;
|
||||
}
|
||||
|
||||
Internal::Manager *QmlProject::projectManager() const
|
||||
{
|
||||
return static_cast<Internal::Manager *>(Project::projectManager());
|
||||
}
|
||||
|
||||
bool QmlProject::supportsKit(Kit *k, QString *errorMessage) const
|
||||
{
|
||||
Id deviceType = DeviceTypeKitInformation::deviceTypeId(k);
|
||||
|
Reference in New Issue
Block a user