summaryrefslogtreecommitdiffstats
path: root/logic/icons
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-02 02:14:14 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-12 20:57:17 +0200
commitcd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5 (patch)
treed8dd6499e29fbf5196b0d5a20f0a0da386b575bb /logic/icons
parent28a39ef7ac3e3dfe4ea65d02af01d1a18e3d4af6 (diff)
downloadMultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.gz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.lz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.tar.xz
MultiMC-cd9d37aac402b0edd0f12b66fd7f2fdd5fe6dff5.zip
SCRATCH nuke the overcomplicated logger, use a simple one.
Diffstat (limited to 'logic/icons')
-rw-r--r--logic/icons/IconList.cpp12
1 files changed, 6 insertions, 6 deletions
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 <QUrl>
#include <QFileSystemWatcher>
#include <QSet>
-#include <logger/QsLog.h>
+#include <QDebug>
#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;
}
}