From a19c66b79f7712f96fffd6fdaf56f87d651ef1ca Mon Sep 17 00:00:00 2001
From: trilene <trilene@runbox.com>
Date: Thu, 29 Oct 2020 19:47:09 -0400
Subject: [PATCH] Remove unused variable

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

diff --git a/src/dialogs/PlaceCall.cpp b/src/dialogs/PlaceCall.cpp
index 3dd01acb9..85a398a2e 100644
--- a/src/dialogs/PlaceCall.cpp
+++ b/src/dialogs/PlaceCall.cpp
@@ -100,7 +100,7 @@ PlaceCall::PlaceCall(const QString &callee,
         if (videoBtn_)
                 layout->addWidget(cameraCombo_);
 
-        connect(voiceBtn_, &QPushButton::clicked, this, [this, settings, session]() {
+        connect(voiceBtn_, &QPushButton::clicked, this, [this, settings]() {
                 settings->setMicrophone(
                   QString::fromStdString(microphones_[microphoneCombo_->currentIndex()]));
                 emit voice();
-- 
GitLab