forked from qt-creator/qt-creator
Qbs: Simplify QbsProjectManager a bit by using member initialization
Change-Id: I848b61bb67023852db51043e9eca0b417c2e6725 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user