diff options
| author | Tim Blechmann <tim.blechmann@qt.io> | 2025-09-20 09:08:32 +0800 |
|---|---|---|
| committer | Tim Blechmann <tim.blechmann@qt.io> | 2025-10-21 08:53:54 +0800 |
| commit | b483fc5aaaf208ec8a55580f48a68be76d9dfd8f (patch) | |
| tree | e9972a37c76b6c7a59f84437a08fc9ad6b5ba4e5 /src/qml/jsruntime/qv4engine.cpp | |
| parent | 89f08f960993bf4b55ed9f72ac7278bb1a772001 (diff) | |
Native Style: rework style and focus window initialization
QStyle is destroyed with the app singleton, but not re-created when a
new app is re-created. We change this to lazily initialize the style via
application static in QQuickStyleItem::style().
Furthermore the focus window is not re-connected to the new application
singleton, either. We lazily construct it and ensure that is cleaned up
when the application singleton is destroyed.
Pick-to: 6.10
Fixes: QTBUG-140220
Change-Id: I97281aaa91794a8a4e1c1fb3aa524dd54cf19709
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions
