path: root/tests
diff options
authorMitch Curtis <mitch.curtis@qt.io>2020-09-18 18:49:39 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-09-24 13:48:32 +0200
commit6059a7765b123a6f3fb221db9674a995bae1881c (patch)
tree695271fabb37abb29f1d497cd93e44c1d71188f8 /tests
parent69ecf83b2355e40210f6bd2ce892d8d829168952 (diff)
QtQuickControls2Plugin: store style values returned from QQuickStyle API
In follow-up commits, QQuickStylePlugin will be reponsible for calling QQuickStylePrivate::reset(), which may happen before ~QtQuickControls2Plugin is called. To avoid issues, we need to store anything we need from QQuickStyle APIs so that we can be sure that it's valid in QtQuickControls2Plugin::unregisterTypes(). This also avoids unnecessary calls to QQuickStyleSpec::resolve(). Change-Id: I7f659b432741b96ee58452c4867b7ecd12c6cfde Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions