From cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 2 Feb 2015 02:14:14 +0100 Subject: SCRATCH nuke the overcomplicated logger, use a simple one. --- logic/icons/IconList.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'logic/icons') diff --git a/logic/icons/IconList.cpp b/logic/icons/IconList.cpp index 964d61e9..40949392 100644 --- a/logic/icons/IconList.cpp +++ b/logic/icons/IconList.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #define MAX_SIZE 1024 @@ -84,7 +84,7 @@ void IconList::directoryChanged(const QString &path) for (auto remove : to_remove) { - QLOG_INFO() << "Removing " << remove; + qDebug() << "Removing " << remove; QFileInfo rmfile(remove); QString key = rmfile.baseName(); int idx = getIconIndex(key); @@ -108,7 +108,7 @@ void IconList::directoryChanged(const QString &path) for (auto add : to_add) { - QLOG_INFO() << "Adding " << add; + qDebug() << "Adding " << add; QFileInfo addfile(add); QString key = addfile.baseName(); if (addIcon(key, QString(), addfile.filePath(), MMCIcon::FileBased)) @@ -121,7 +121,7 @@ void IconList::directoryChanged(const QString &path) void IconList::fileChanged(const QString &path) { - QLOG_INFO() << "Checking " << path; + qDebug() << "Checking " << path; QFileInfo checkfile(path); if (!checkfile.exists()) return; @@ -153,11 +153,11 @@ void IconList::startWatching() is_watching = m_watcher->addPath(abs_path); if (is_watching) { - QLOG_INFO() << "Started watching " << abs_path; + qDebug() << "Started watching " << abs_path; } else { - QLOG_INFO() << "Failed to start watching " << abs_path; + qDebug() << "Failed to start watching " << abs_path; } } -- cgit v1.2.3