Commit 901c06d9 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Qt Designer: Refactor WidgetFactory::isPassiveInteractor()


Factor out a helper routine to check on the widget so that the
caching pattern becomes clearer. Change the heap-allocated
QPointer<QWidget> to a static variable.

Change-Id: I5dfc5a9ebc791dbd2e13a9cbde72f77c3e2c6104
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@qt.io>
Showing with 44 additions and 46 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment