From 4e15b1fdd58f2e21a9b52edb21d3bbde6a836e3d Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Fri, 5 Jun 2020 22:50:16 -0400 Subject: [PATCH] Fix lambda capture 'this' is not used --- src/TerminalDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index 6fcee232..cbb6f500 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -129,7 +129,7 @@ void TerminalDisplay::setScreenWindow(ScreenWindow* window) connect(_screenWindow.data(), &Konsole::ScreenWindow::scrolled, this, [this]() { _filterUpdateRequired = true; }); - connect(_screenWindow.data(), &Konsole::ScreenWindow::outputChanged, this, [this]() { + connect(_screenWindow.data(), &Konsole::ScreenWindow::outputChanged, this, []() { QGuiApplication::inputMethod()->update(Qt::ImCursorRectangle); }); _screenWindow->setWindowLines(_lines);