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:
Uladzislau Paulovich
2019-06-09 00:32:44 +03:00
committed by selatnick
parent 169ced3e08
commit 749eaaad81

View File

@@ -531,6 +531,8 @@ protected:
bool visit(UiPragma *ast) override
{
out("pragma ", ast->pragmaToken);
out(ast->name.toString());
newLine();
return false;
}