chore: remove double spaces from logs

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-01-29 19:15:27 +05:00
parent b69dbc2224
commit 584dc47da5
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
64 changed files with 224 additions and 222 deletions

View file

@ -18,19 +18,19 @@ unsigned getOnlinePlayers(QJsonObject data)
void ServerPingTask::executeTask()
{
qDebug() << "Querying status of " << QString("%1:%2").arg(m_domain).arg(m_port);
qDebug() << "Querying status of" << QString("%1:%2").arg(m_domain).arg(m_port);
// Resolve the actual IP and port for the server
McResolver* resolver = new McResolver(nullptr, m_domain, m_port);
connect(resolver, &McResolver::succeeded, this, [this](QString ip, int port) {
qDebug() << "Resolved Address for" << m_domain << ": " << ip << ":" << port;
qDebug().nospace().noquote() << "Resolved address for " << m_domain << ": " << ip << ":" << port;
// Now that we have the IP and port, query the server
McClient* client = new McClient(nullptr, m_domain, ip, port);
connect(client, &McClient::succeeded, this, [this](QJsonObject data) {
m_outputOnlinePlayers = getOnlinePlayers(data);
qDebug() << "Online players: " << m_outputOnlinePlayers;
qDebug() << "Online players:" << m_outputOnlinePlayers;
emitSucceeded();
});
connect(client, &McClient::failed, this, [this](QString error) { emitFailed(error); });