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);
|
connectivityTimer_.setInterval(CHECK_CONNECTIVITY_INTERVAL);
|
||||||
connect(&connectivityTimer_, &QTimer::timeout, this, [=]() {
|
connect(&connectivityTimer_, &QTimer::timeout, this, [this]() {
|
||||||
if (http::client()->access_token().empty()) {
|
if (http::client()->access_token().empty()) {
|
||||||
connectivityTimer_.stop();
|
connectivityTimer_.stop();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user