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>
(cherry picked from commit 0cb84fb903)
r14.0.x
François Andriot 4 years ago committed by Michele Calgaro
parent dddae369e5
commit 4e20f46e57
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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