NOISSUE remove group sorting log spam

This commit is contained in:
Petr Mrázek 2015-02-10 20:50:01 +01:00
parent d1ba972c59
commit d4d8cb4891

View File

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