Commit 38e701b1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use logging categories

parent d1dec789
......@@ -368,7 +368,7 @@ void RadialMap::Map::paint(bool antialias)
return;
if (!paint.begin(&m_pixmap)) {
qWarning() << "Filelight::RadialMap Failed to initialize painting, returning...";
qCWarning(FILELIGHT_LOG) << "Filelight::RadialMap Failed to initialize painting, returning...";
return;
}
......
......@@ -70,7 +70,7 @@ bool ScanManager::start(const QUrl &url)
qCDebug(FILELIGHT_LOG) << "Scan requested for: " << url;
if (running()) {
qWarning() << "Tried to launch two concurrent scans, aborting old one...";
qCWarning(FILELIGHT_LOG) << "Tried to launch two concurrent scans, aborting old one...";
abort();
}
......@@ -145,7 +145,7 @@ bool ScanManager::start(const QUrl &url)
return true;
} else {
//something went wrong, we couldn't find the folder we were expecting
qWarning() << "Didn't find " << path << " in the cache!\n";
qCWarning(FILELIGHT_LOG) << "Didn't find " << path << " in the cache!\n";
it.remove();
emit aboutToEmptyCache();
delete folder;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment