summaryrefslogtreecommitdiffstats
path: root/tests/manual/examples/widgets/widgets/stylesheet/qss
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2024-06-12 13:05:16 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2024-06-13 01:28:36 +0300
commit7602f71aa6cd10ff1b16d154fa967c8fce8e8d0a (patch)
tree2ece61eea340f9736d8e2c3015a2d14f9f07cdce /tests/manual/examples/widgets/widgets/stylesheet/qss
parenta843db6e2d80a99be38c2b66aac92cb912613bd6 (diff)
Android: restart whole app if the activity was restartedHEADdev
If the Activity restart path is run while m_layout is null, it would lead to a NullPointerException when trying to access m_layout. Moreover, the code here doesn't make sense, as m_layout.getParent() should probably be only done when super.updateActivityAfterRestart() returns true because if it returns false, the app will be restarted anyway. Testing the restarting behavior of the Activity, it seems that the code code doesn't really work in bringing the app to a usable state after an activity restart, and this code path should be re-evaluated. Thus, I'm simplifying the logic to only restart the whole app, and later figure out a way to do a proper smooth transition instead. Fixes: QTBUG-124786 Pick-to: 6.8 6.7 Change-Id: I79f0c53c815bf71c831d0b930f358c9fd820a2d4 Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
Diffstat (limited to 'tests/manual/examples/widgets/widgets/stylesheet/qss')
0 files changed, 0 insertions, 0 deletions