diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index 0225ed27..daae116e 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -83,7 +83,7 @@ ChatPage::ChatPage(QSharedPointer userSettings, QObject *parent) }); connectivityTimer_.setInterval(CHECK_CONNECTIVITY_INTERVAL); - connect(&connectivityTimer_, &QTimer::timeout, this, [=]() { + connect(&connectivityTimer_, &QTimer::timeout, this, [this]() { if (http::client()->access_token().empty()) { connectivityTimer_.stop(); return;