Skip to content

Implement own lessThan(QVariant, QVariant)#1

Merged
CasparKielwein merged 1 commit intoCasparKielwein:masterfrom
MenloSystems:QVariant-lessThan
Nov 7, 2021
Merged

Implement own lessThan(QVariant, QVariant)#1
CasparKielwein merged 1 commit intoCasparKielwein:masterfrom
MenloSystems:QVariant-lessThan

Conversation

@CasparKielwein
Copy link
Owner

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 oKcerG#77

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 oKcerG#77
@CasparKielwein CasparKielwein merged commit 52077d4 into CasparKielwein:master Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecation warnings when compiling with Qt 5.15

2 participants