diff --git a/kiten/learn.cpp b/kiten/learn.cpp index 94e77b9a..a1b685d4 100644 --- a/kiten/learn.cpp +++ b/kiten/learn.cpp @@ -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(); }