From 2f98a4475fc7a5939273d04074cddbe634d4476b Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Thu, 9 Nov 2023 21:40:46 +0100
Subject: [PATCH] Get rid of useless capture

---
 src/voip/CallManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/voip/CallManager.cpp b/src/voip/CallManager.cpp
index d31592bf1..e57544173 100644
--- a/src/voip/CallManager.cpp
+++ b/src/voip/CallManager.cpp
@@ -190,7 +190,7 @@ CallManager::CallManager(QObject *parent)
     player_.setAudioOutput(audioOutput);
 
     connect(
-      &player_, &QMediaPlayer::mediaStatusChanged, this, [this](QMediaPlayer::MediaStatus status) {
+      &player_, &QMediaPlayer::mediaStatusChanged, this, [](QMediaPlayer::MediaStatus status) {
           nhlog::ui()->debug("WebRTC: ringtone status {}",
                              QMetaEnum::fromType<QMediaPlayer::MediaStatus>().valueToKey(status));
       });
-- 
GitLab