forked from qt-creator/qt-creator
Project: Add setRootProjectNode method
Add setRootProjectNode method and a default implementation of rootProjectNode to Project. Use that in all derived classes. Change-Id: Id28cde04457a20a8963d43020785ef9d77fea57c Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -207,7 +207,7 @@ void QmakeProjectConfigWidget::updateProblemLabel()
|
||||
}
|
||||
|
||||
QmakeProject *p = static_cast<QmakeProject *>(m_buildConfiguration->target()->project());
|
||||
if (p->rootQmakeProjectNode()->parseInProgress() || !p->rootQmakeProjectNode()->validParse()) {
|
||||
if (p->rootProjectNode()->parseInProgress() || !p->rootProjectNode()->validParse()) {
|
||||
setProblemLabel(QString());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user