summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-01-29 12:19:14 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-02-04 19:38:04 +0000
commita29374fc8ecb9fc17ac125d730eed9c8ec98badb (patch)
treef33dba2e81b660641d76deaf71357b524cccfb8d /tests/auto/gui/painting
parent6c117ee4aa4974556c6d6ac3799277a4da67b112 (diff)
QComboBox: use QModelIndex::sibling() instead of index()+parent()
QAIM::sibling() may be more efficient, esp. in cases where only the column number needs to be adjusted. It is a no-op if the column number is already correct. Change-Id: Iabb8d5ef58d083da971a9d2f3702908257e5cc0a Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/auto/gui/painting')
0 files changed, 0 insertions, 0 deletions