Fix FTBFS on Fedora 34

error: static assertion failed: comparison object must be invocable as const

Signed-off-by: François Andriot <francois.andriot@free.fr>
pull/14/head
François Andriot 3 years ago
parent a008ddc554
commit 0cb84fb903

@ -762,7 +762,7 @@ void Learn::qupdate()
struct Learn::scoreCompare
{
bool operator()(const TQListViewItem* v1, const TQListViewItem* v2)
bool operator()(const TQListViewItem* v1, const TQListViewItem* v2) const
{
return v1->text(4).toInt() < v2->text(4).toInt();
}

Loading…
Cancel
Save