Hi All,
i am trying to sort my a QList (static QList<MyClass> list; ) but nothing change on the
list .
here is the code
there is no error on my code. After adding this statements, my list is still same, nothing is changed.bool caseInsensitiveLessThan(const Myclass s1, const Myclass s2)
{
return (s1.id < s2.id);
}
qSort(list.begin(),list.end(),caseInsensitiveLessT han);
is there anyone have an idea why the list is still same,
thank you...
Bookmarks