NOISSUE remove group sorting log spam
This commit is contained in:
parent
d1ba972c59
commit
d4d8cb4891
@ -19,19 +19,10 @@ bool GroupedProxyModel::lessThan(const QModelIndex &left, const QModelIndex &rig
|
|||||||
{
|
{
|
||||||
// FIXME: real group sorting happens in GroupView::updateGeometries(), see LocaleString
|
// FIXME: real group sorting happens in GroupView::updateGeometries(), see LocaleString
|
||||||
auto result = leftCategory.localeAwareCompare(rightCategory);
|
auto result = leftCategory.localeAwareCompare(rightCategory);
|
||||||
if(result < 0)
|
|
||||||
{
|
|
||||||
qDebug() << leftCategory << "<" << rightCategory;
|
|
||||||
}
|
|
||||||
if(result == 0)
|
if(result == 0)
|
||||||
{
|
{
|
||||||
qDebug() << leftCategory << "=" << rightCategory;
|
|
||||||
return subSortLessThan(left, right);
|
return subSortLessThan(left, right);
|
||||||
}
|
}
|
||||||
if(result > 0)
|
|
||||||
{
|
|
||||||
qDebug() << leftCategory << ">" << rightCategory;
|
|
||||||
}
|
|
||||||
return result < 0;
|
return result < 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user