summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-11-02 15:20:43 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-01-10 09:13:36 +0000
commit8c47c2a08ec69fe45a14f6c2334befcb2e074790 (patch)
treec1f35c262c9c88f5c113ccdafb48ff41e8a89e1a /src/gui
parentf370410097f8cb8d8fdf6174b799497fe7fe0adf (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