diff options
| author | David Faure <faure@kde.org> | 2010-12-03 10:34:09 (GMT) |
|---|---|---|
| committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2011-09-29 09:33:26 (GMT) |
| commit | d63910575949106f84dacf04abaa14fc866aa66b (patch) | |
| tree | 57dbdb8ca4da4ef9c8782a0b93704bc53b376d44 /doc/src/snippets/code/doc_src_deployment.cpp | |
| parent | 2c1e828af311bb103a6f02513cd339973e9582f6 (diff) | |
| download | Qt-d63910575949106f84dacf04abaa14fc866aa66b.zip Qt-d63910575949106f84dacf04abaa14fc866aa66b.tar.gz Qt-d63910575949106f84dacf04abaa14fc866aa66b.tar.bz2 | |
Set missing flags in the option when rendering QTreeView drag pixmap
QAbstractItemViewPrivate::renderToPixmap was not setting all the flags
that the normal QTreeView painting sets:
option.showDecorationSelected, option.viewItemPosition (so the drag pixmap
looked wrong on Windows 7, with rects around each cell), and then the
unittest also discovered that State_Children/State_Sibling wasn't set either.
Task-number: QTBUG-15834
Merge-request: 2517
Reviewed-by: Gabriel
Diffstat (limited to 'doc/src/snippets/code/doc_src_deployment.cpp')
0 files changed, 0 insertions, 0 deletions
