Fix C++20 compatibility
This commit is contained in:
parent
bd9946bff9
commit
9b2a98b595
@ -83,7 +83,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> 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;
|
||||
|
Loading…
Reference in New Issue
Block a user