QmlProject: Simplify interface a bit

Remove unneeded code and don't repeately fetch a singleton value.

Change-Id: I718a44c28be7ef8718f813f987f45b32cbcd7ad5
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
hjk
2017-03-14 11:18:09 +01:00
parent 5d1e12faad
commit df73d57295
2 changed files with 10 additions and 27 deletions

View File

@@ -33,7 +33,6 @@
#include <QPointer>
namespace ProjectExplorer { class RunConfiguration; }
namespace QmlJS { class ModelManagerInterface; }
namespace QmlProjectManager {
@@ -91,8 +90,6 @@ private:
// plain format
void parseProject(RefreshOptions options);
QStringList convertToAbsoluteFiles(const QStringList &paths) const;
QmlJS::ModelManagerInterface *modelManager() const;
QmlImport m_defaultImport;
ProjectExplorer::Target *m_activeTarget = 0;