Remove FMT dependency (#1472)
All occurrences of log() have been replaced with qDebug() bonus meme: remove a bunch of std::string usages in the pubsub client Fixes #1467
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
#include "common/NetworkRequest.hpp"
|
||||
#include "debug/AssertInGuiThread.hpp"
|
||||
#include "debug/Benchmark.hpp"
|
||||
#include "debug/Log.hpp"
|
||||
#include "singletons/Emotes.hpp"
|
||||
#include "singletons/WindowManager.hpp"
|
||||
#include "util/DebugCount.hpp"
|
||||
@@ -108,8 +107,8 @@ namespace detail {
|
||||
|
||||
if (reader.imageCount() == 0)
|
||||
{
|
||||
log("Error while reading image {}: '{}'", url.string,
|
||||
reader.errorString());
|
||||
qDebug() << "Error while reading image" << url.string << ": '"
|
||||
<< reader.errorString() << "'";
|
||||
return frames;
|
||||
}
|
||||
|
||||
@@ -127,8 +126,8 @@ namespace detail {
|
||||
|
||||
if (frames.size() == 0)
|
||||
{
|
||||
log("Error while reading image {}: '{}'", url.string,
|
||||
reader.errorString());
|
||||
qDebug() << "Error while reading image" << url.string << ": '"
|
||||
<< reader.errorString() << "'";
|
||||
}
|
||||
|
||||
return frames;
|
||||
|
||||
Reference in New Issue
Block a user