oKcerG / SortFilterProxyModel

A nicely exposed QSortFilterProxyModel for QML
MIT License
298 stars 101 forks source link

Implement own lessThan(QVariant, QVariant) #81

Open olafmandel opened 3 years ago

olafmandel commented 3 years ago

Qt 5.15 deprecated the operator<(QVariant, QVariant). Do get rid of the warning and to prepare for the eventual removal of the operator, implement our own needs in a lessThan() function.

The function is based on the description of QSortFilterProxyModel::lessThan().

Fixes #77