C++: Fix indenting of QML_* macros.

Task-number: QTCREATORBUG-2111
This commit is contained in:
Christian Kamm
2010-08-25 14:54:45 +02:00
parent 7a8c07a1f8
commit b79fe7e711
2 changed files with 3 additions and 0 deletions

View File

@@ -678,6 +678,7 @@ bool CodeFormatter::tryDeclaration()
QString tokenText = currentTokenText().toString();
if (tokenText.startsWith(QLatin1String("Q_"))
|| tokenText.startsWith(QLatin1String("QT_"))
|| tokenText.startsWith(QLatin1String("QML_"))
|| tokenText.startsWith(QLatin1String("QDOC_"))) {
enter(qt_like_macro);
return true;