diff options
author | Sami Merila <sami.merila@nokia.com> | 2009-12-23 11:25:51 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2009-12-23 11:25:51 (GMT) |
commit | 6928ffb7533d23f0be220116a7b11d90bee72fb5 (patch) | |
tree | 4d421db2c8890177b3aafbe369912f6be9bca81b /doc/src/snippets/code | |
parent | 09cd5f7324b8346f1df43a3dff61d337073a6358 (diff) | |
download | Qt-6928ffb7533d23f0be220116a7b11d90bee72fb5.zip Qt-6928ffb7533d23f0be220116a7b11d90bee72fb5.tar.gz Qt-6928ffb7533d23f0be220116a7b11d90bee72fb5.tar.bz2 |
QWidget with the window flag Qt::Dialog is not decorated as a dialog
Previously style casted widgets to QDialog to see if it is able to
draw dialog background theme graphic.
As a fix, we now query window flag from the widget and if it is
equivalent of Qt::Dialog, draw dialog background.
Task-number: QTBUG-5930
Reviewed-by: Janne Koskinen
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions