diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-11-02 15:20:43 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-10 09:13:36 +0000 |
commit | 8c47c2a08ec69fe45a14f6c2334befcb2e074790 (patch) | |
tree | c1f35c262c9c88f5c113ccdafb48ff41e8a89e1a /src/gui | |
parent | f370410097f8cb8d8fdf6174b799497fe7fe0adf (diff) |
uic: Refactor CustomWidgetsInfo::extends()
Add a extendsOneOf() helper that takes a QStringList to be searched
and simplify the code accordingly.
In WriteInitialization::acceptWidget(), move the variable
CustomWidgetsInfo *cwi up and reuse everywhere to shorten code.
Task-number: PYSIDE-797
Change-Id: I331e135b6aa58dbbd413ca151eb67b3eb92f09c6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions