SCRATCH nuke the overcomplicated logger, use a simple one.
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
#include <QScrollBar>
|
||||
|
||||
#include "VisualGroup.h"
|
||||
#include "logger/QsLog.h"
|
||||
#include <QDebug>
|
||||
|
||||
template <typename T> bool listsIntersect(const QList<T> &l1, const QList<T> t2)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "GroupedProxyModel.h"
|
||||
|
||||
#include "GroupView.h"
|
||||
#include "logger/QsLog.h"
|
||||
#include <QDebug>
|
||||
|
||||
GroupedProxyModel::GroupedProxyModel(QObject *parent) : QSortFilterProxyModel(parent)
|
||||
{
|
||||
@ -21,16 +21,16 @@ bool GroupedProxyModel::lessThan(const QModelIndex &left, const QModelIndex &rig
|
||||
auto result = leftCategory.localeAwareCompare(rightCategory);
|
||||
if(result < 0)
|
||||
{
|
||||
QLOG_DEBUG() << leftCategory << "<" << rightCategory;
|
||||
qDebug() << leftCategory << "<" << rightCategory;
|
||||
}
|
||||
if(result == 0)
|
||||
{
|
||||
QLOG_DEBUG() << leftCategory << "=" << rightCategory;
|
||||
qDebug() << leftCategory << "=" << rightCategory;
|
||||
return subSortLessThan(left, right);
|
||||
}
|
||||
if(result > 0)
|
||||
{
|
||||
QLOG_DEBUG() << leftCategory << ">" << rightCategory;
|
||||
qDebug() << leftCategory << ">" << rightCategory;
|
||||
}
|
||||
return result < 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user