Ignore clang-format for GUI snippets

Among other things, this allows for ignoring proper indentation
of code that's contained in a wrapper function which serves the
purpose of compiling the snippet only. This is useful because
the extra indentation is included in the output generated by QDoc.

Task-number: QTBUG-84470
Change-Id: I3d702e82169a87447939f357cbee15cb0f74a391
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Paul Wicking 2020-08-20 14:50:00 +02:00
parent 9a921d78e8
commit 55d0bcaf92

View File

@ -0,0 +1,2 @@
# Ignore formatting of snippet code.
DisableFormat: true