summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-06-13 11:12:41 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-06-13 11:12:41 +0200
commit9b2a98b5957616a69462838e2383da862fbd1a3e (patch)
treeebf72d77610749d3d408c3388c82dbae97ac2036 /src
parentFix height attribute for emotes (diff)
downloadnheko-9b2a98b5957616a69462838e2383da862fbd1a3e.tar.xz
Fix C++20 compatibility
Diffstat (limited to 'src')
-rw-r--r--src/ChatPage.cpp2
1 files changed, 1 insertions, 1 deletions
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> 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;