chore: use a const Ref for ServerConnection client name check

This commit is contained in:
sithlord48
2025-05-23 01:25:47 -04:00
committed by Chris Rizzitello
parent 475b895755
commit e24b1c4b68

View File

@ -62,7 +62,7 @@ void ServerConnection::handleLogLine(const QString &logLine)
return;
}
if (const auto client = message.getClientName(); m_receivedClients.contains(client)) {
if (const auto &client = message.getClientName(); m_receivedClients.contains(client)) {
qDebug("already got request, skipping new client prompt for: %s", qPrintable(client));
return;
}