Qbs: Simplify QbsProjectManager a bit by using member initialization

Change-Id: I848b61bb67023852db51043e9eca0b417c2e6725
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2017-02-23 14:07:47 +01:00
committed by hjk
parent 9e8b427a70
commit 721c902cd8
2 changed files with 13 additions and 23 deletions

View File

@@ -78,14 +78,6 @@ static QbsProject *currentEditorProject()
return doc ? qobject_cast<QbsProject *>(SessionManager::projectForFile(doc->filePath())) : 0;
}
QbsProjectManagerPlugin::QbsProjectManagerPlugin() :
m_selectedProject(0),
m_selectedNode(0),
m_currentProject(0),
m_editorProject(0),
m_editorNode(0)
{ }
bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString *errorMessage)
{
Q_UNUSED(arguments);