forked from qt-creator/qt-creator
"New class" wizard: Respect the project's "no Qt keywords" setting
Fixes: QTCREATORBUG-6812 Change-Id: I3f51c61f7a1ed1e4626be6bc31fa2e3affed2084 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -339,6 +339,9 @@ QVariant QmakeProFileNode::data(Core::Id role) const
|
||||
return info.buildDir.toString();
|
||||
}
|
||||
|
||||
if (role == ProjectExplorer::Constants::QT_KEYWORDS_ENABLED)
|
||||
return !proFile()->variableValue(Variable::Config).contains("no_keywords");
|
||||
|
||||
QTC_CHECK(false);
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user