summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-04-19 18:12:27 +0300
committerAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-07-02 07:38:00 +0000
commit2185b2f054ddae0fc67b8799b3561c57729f1cd7 (patch)
tree860323204316904ee7e413a01ab8392379cc4e87 /src/corelib/kernel
parent98526119c6940e9923655242c181283081efb694 (diff)
ItemModel: Extract Method isVariantLessThan()
As noted in comments, QSortFilterProxyModel and QStandardItemModel duplicate code to compare QVariant; extract this into a separate method they can share. Since there is only one common suitable header for both files, the method was placed in qabstractitemmodel.cpp Change-Id: I82bb4a2d6084059b8a70a8d556c16f1a29f4f686 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions