mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
You can no longer just append int to a QString
This commit is contained in:
parent
efc376138a
commit
19a2b2eb61
|
@ -85,7 +85,8 @@ void IrcServer::initializeConnectionSignals(IrcConnection *connection,
|
||||||
|
|
||||||
QObject::connect(connection, &Communi::IrcConnection::nickNameRequired,
|
QObject::connect(connection, &Communi::IrcConnection::nickNameRequired,
|
||||||
this, [](const QString &reserved, QString *result) {
|
this, [](const QString &reserved, QString *result) {
|
||||||
*result = reserved + (std::rand() % 100);
|
*result =
|
||||||
|
reserved + QString::number(std::rand() % 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
QObject::connect(connection, &Communi::IrcConnection::noticeMessageReceived,
|
QObject::connect(connection, &Communi::IrcConnection::noticeMessageReceived,
|
||||||
|
|
Loading…
Reference in a new issue