ProgressBar: Stop emitting polish requests when item becomes invisible
This patchset:
- Optimizes invisible indeterminate ProgressBars by not emitting polish requests for QtQuick/KQuickStyle items;
- Optimizes code that requests polish by calling that method directly on a qobject-casted QQuickItem instead of dispatching
QMetaObject::invokeMethod
, which technically also drops support for styles that may override those methods with something weird (but who cares).
Edited by ivan tkachenko