forked from qt-creator/qt-creator
qml | Fix pragma reformatting
After this change reformatter test (tests/auto/qml/reformatter/tst_reformatter) starts to work correctly for singleton example (qmlsingleton.qml) Change-Id: Ia0561aa8b920fc5c62a8dea93341721f37b68dd8 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
selatnick
parent
169ced3e08
commit
749eaaad81
@@ -531,6 +531,8 @@ protected:
|
||||
bool visit(UiPragma *ast) override
|
||||
{
|
||||
out("pragma ", ast->pragmaToken);
|
||||
out(ast->name.toString());
|
||||
newLine();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user