summaryrefslogtreecommitdiffstats
path: root/examples/widgets/dialogs/findfiles/window.h
diff options
context:
space:
mode:
authorClemens Sielaff <git@clemens-sielaff.com>2016-07-24 11:21:34 +1200
committerJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>2016-08-03 11:16:35 +0000
commit2a24c3c268d443fb260d731d9f65b57726a40354 (patch)
tree79edca5f870869a2f22fd634242ed948ae157208 /examples/widgets/dialogs/findfiles/window.h
parentdbb5c95f4d80644c6273b3adbe0148cdf30710d2 (diff)
Fixed Bug in QVariant comparison when containing QStringLists
As it were, QStringLists were not handled explicitly when comparing QVariants. If both QStringLists contained only a single entry, they were treated as QStrings - if both QStringLists were empty, there were equal (correctly so) - but if one of the QStringLists had more than one entry, the compare function fell through to returning always 1. As discussed here: https://stackoverflow.com/a/38492467/3444217 Added rich comparison tests for all non-numerical, non-recursive QVariants that support them (except QModelIndex and QPersistentModelIndex) Task-number: QTBUG-54893 Change-Id: Icc5480d9ba056ee5efe83da566c5829caa1509d7 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'examples/widgets/dialogs/findfiles/window.h')
0 files changed, 0 insertions, 0 deletions