summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-02-28 10:42:47 +0100
committerCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-03-03 14:50:35 +0100
commit3f7d087d3394a0cd80042f50edd9abcc53febe18 (patch)
tree509962c50300e4686ebf75c24ab7ddb336096d5a /tests/auto/widgets
parent4a1de178c9cc891560f38d64d89074799b0fa0e1 (diff)
uic: Add pass to empty functions
When there are no translations on the UI file, the function was left empty but without a 'pass' statement, generating a SyntaxError, this change includes it to avoid problems while using the generated Python file. Fixes: PYSIDE-1234 Change-Id: I30482a95c95fb4b4f4456531946a79c960d76318 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions