diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-03-13 14:10:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-17 10:56:48 +0100 |
commit | 14d436698c53f070e8cc51bc2e3ef34a751af934 (patch) | |
tree | da463a11e48ba529c43826b423dbb0b325e4522a /doc/src/snippets/code/src_gui_util_qundostack.cpp | |
parent | 6ede9f99f98ed511b78935f7c6537470dce94239 (diff) | |
download | qt4-tools-14d436698c53f070e8cc51bc2e3ef34a751af934.tar.gz |
QWindowsXP/VistaStyle: Fix detection of item view delegate line edits.
The old code tried to check the 2nd parent for inheritance from
QAbstractItemView. This also triggers for line edits on a QDialog parented
on the item view. Introduce convenience function that checks for
top levels in the chain.
Task-number: QTBUG-37504
Change-Id: I932f8efdb4764e9b1eea84c802bf7e8718338e1d
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
(cherry picked from qtbase/176342e70a1ba7864a5b5dac14d12d4091ef5bd9)
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions