forked from qt-creator/qt-creator
QML wizards: Do not offer .ui.qml files for Qt 5.3
Qt 5.3 is the only version we are going to support that does not offer ui.qml file support. So just check for the QtQuick version shipped in Qt 5.3 to decide whether or not to display the checkbox. Task-number: QTCREATORBUG-14712 Change-Id: Ibb2204f2bcff819b749e1ed744c14a2e96769351 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -274,7 +274,7 @@ QString MacroExpander::expand(const QString &stringWithVariables) const
|
||||
if (d->m_lockDepth == 0)
|
||||
d->m_aborted = false;
|
||||
|
||||
if (d->m_lockDepth > 3) { // Limit recursion.
|
||||
if (d->m_lockDepth > 10) { // Limit recursion.
|
||||
d->m_aborted = true;
|
||||
return QString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user