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:
@@ -65,7 +65,7 @@ namespace {
|
||||
// messageBox.setIcon(QMessageBox::Information);
|
||||
// messageBox.setText("Successfully logged in with user <b>" +
|
||||
// qS(username) + "</b>!");
|
||||
auto basePath = fS("/accounts/uid{}", userID);
|
||||
std::string basePath = "/accounts/uid" + userID.toStdString();
|
||||
pajlada::Settings::Setting<QString>::set(basePath + "/username",
|
||||
username);
|
||||
pajlada::Settings::Setting<QString>::set(basePath + "/userID", userID);
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "IrcMessage"
|
||||
#include "common/Channel.hpp"
|
||||
#include "common/NetworkRequest.hpp"
|
||||
#include "debug/Log.hpp"
|
||||
#include "messages/Message.hpp"
|
||||
#include "providers/twitch/PartialTwitchUser.hpp"
|
||||
#include "providers/twitch/TwitchChannel.hpp"
|
||||
@@ -70,7 +69,7 @@ void LogsPopup::getLogs()
|
||||
return;
|
||||
}
|
||||
|
||||
log("Unable to get logs, no channel name or something specified");
|
||||
qDebug() << "Unable to get logs, no channel name or something specified";
|
||||
}
|
||||
|
||||
void LogsPopup::setMessages(std::vector<MessagePtr> &messages)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include "QualityPopup.hpp"
|
||||
#include "debug/Log.hpp"
|
||||
#include "util/StreamLink.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
@@ -50,7 +49,7 @@ void QualityPopup::okButtonClicked()
|
||||
}
|
||||
catch (const Exception &ex)
|
||||
{
|
||||
log("Exception caught trying to open streamlink: {}", ex.what());
|
||||
qDebug() << "Exception caught trying to open streamlink:" << ex.what();
|
||||
}
|
||||
|
||||
this->close();
|
||||
|
||||
Reference in New Issue
Block a user