From cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Mon, 2 Feb 2015 02:14:14 +0100 Subject: SCRATCH nuke the overcomplicated logger, use a simple one. --- gui/groupview/GroupView.cpp | 2 +- gui/groupview/GroupedProxyModel.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gui/groupview') diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp index 502cf259..89694b87 100644 --- a/gui/groupview/GroupView.cpp +++ b/gui/groupview/GroupView.cpp @@ -12,7 +12,7 @@ #include #include "VisualGroup.h" -#include "logger/QsLog.h" +#include template bool listsIntersect(const QList &l1, const QList t2) { diff --git a/gui/groupview/GroupedProxyModel.cpp b/gui/groupview/GroupedProxyModel.cpp index 30845caa..a45c5ae9 100644 --- a/gui/groupview/GroupedProxyModel.cpp +++ b/gui/groupview/GroupedProxyModel.cpp @@ -1,7 +1,7 @@ #include "GroupedProxyModel.h" #include "GroupView.h" -#include "logger/QsLog.h" +#include 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; } -- cgit