Switch to QT Category logging (#2206)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <QCryptographicHash>
|
||||
#include <QFile>
|
||||
#include <QtConcurrent>
|
||||
#include "common/QLogging.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -123,7 +124,7 @@ void loadUncached(const std::shared_ptr<NetworkData> &data)
|
||||
|
||||
if (reply == nullptr)
|
||||
{
|
||||
qDebug() << "Unhandled request type";
|
||||
qCDebug(chatterinoCommon) << "Unhandled request type";
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -131,7 +132,7 @@ void loadUncached(const std::shared_ptr<NetworkData> &data)
|
||||
{
|
||||
QObject::connect(
|
||||
data->timer_, &QTimer::timeout, worker, [reply, data]() {
|
||||
qDebug() << "Aborted!";
|
||||
qCDebug(chatterinoCommon) << "Aborted!";
|
||||
reply->abort();
|
||||
if (data->onError_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user