Fix some compilation warnings

This commit is contained in:
Tobias Fella
2022-09-23 00:21:08 +02:00
parent ef40f5a747
commit c007961ef6
3 changed files with 3 additions and 2 deletions

View File

@@ -574,7 +574,7 @@ void Controller::setActiveConnection(Connection *connection)
m_connection = connection;
if (connection != nullptr) {
NeoChatConfig::self()->setActiveConnection(connection->userId());
connect(connection, &Connection::networkError, this, [this](QString message, QString details, int retriesTaken, int nextRetryInMilliseconds) {
connect(connection, &Connection::networkError, this, [this]() {
if (!m_isOnline) {
return;
}