From b849a57dab584b184e804527c2333e0688b9e590 Mon Sep 17 00:00:00 2001 From: RickyRister <42636155+RickyRister@users.noreply.github.com> Date: Sun, 18 Oct 2026 02:10:26 -0700 Subject: [PATCH] [TabRoom] Fix compile failure due to unused lambda capture (#7577) --- cockatrice/src/interface/widgets/tabs/tab_room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/interface/widgets/tabs/tab_room.cpp b/cockatrice/src/interface/widgets/tabs/tab_room.cpp index e5f2020ca..f63b77445 100644 --- a/cockatrice/src/interface/widgets/tabs/tab_room.cpp +++ b/cockatrice/src/interface/widgets/tabs/tab_room.cpp @@ -365,7 +365,7 @@ void TabRoom::sendMessage() return; } else { ChatView *targetView = channelViews.value(activeChannelId, chatView); - auto onFinished = [this, targetView](const Response &response) { + auto onFinished = [targetView](const Response &response) { if (response.response_code() == Response::RespChatFlood) { targetView->appendMessage(tr("You are flooding the chat. Please wait a couple of seconds.")); } else if (response.response_code() == Response::RespFunctionNotAllowed ||