diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2015-01-14 14:20:04 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@digia.com> | 2015-01-16 14:27:26 +0100 |
commit | b2cff0b4bf93bc85b9b76098e8e8ff2fdaf83198 (patch) | |
tree | b05d5fe29bf69936a9076e0243c3f945b15633a5 /doc | |
parent | 5239ba95e8d68a96b2783793576490f119fb5700 (diff) |
Fix stylesheet crash.
Style sheets that refer to the progress bar (like
"QProgressDialog[maximum='0']{}") may dereference a
null-pointer during the styleHint() call in QProgressDialogPrivate::init()
since the progress bar has not been created yet.
Move the creation of the progress bar closer to the
top of init(), before the styleHint() call.
Change-Id: I31c3c1c346430fc9fe86b0977403dea0c0dc5e90
Task-number: QTBUG-43830
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions