Switch to QT Category logging (#2206)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Steve Wills
2020-11-21 10:20:10 -05:00
committed by GitHub
parent d206ed4bcc
commit df722a72c1
54 changed files with 655 additions and 239 deletions
+7 -4
View File
@@ -12,6 +12,7 @@
#include "Application.hpp"
#include "common/Common.hpp"
#include "common/NetworkRequest.hpp"
#include "common/QLogging.hpp"
#include "debug/AssertInGuiThread.hpp"
#include "debug/Benchmark.hpp"
#include "singletons/Emotes.hpp"
@@ -130,8 +131,9 @@ namespace detail {
if (reader.imageCount() == 0)
{
qDebug() << "Error while reading image" << url.string << ": '"
<< reader.errorString() << "'";
qCDebug(chatterinoImage)
<< "Error while reading image" << url.string << ": '"
<< reader.errorString() << "'";
return frames;
}
@@ -149,8 +151,9 @@ namespace detail {
if (frames.size() == 0)
{
qDebug() << "Error while reading image" << url.string << ": '"
<< reader.errorString() << "'";
qCDebug(chatterinoImage)
<< "Error while reading image" << url.string << ": '"
<< reader.errorString() << "'";
}
return frames;