From 923d26e0ebadd55ab457a2f0dd53ab1c03f5896a Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Wed, 3 Jan 2018 09:07:39 -0500 Subject: [PATCH] change singleShot to use non-lambda new connect syntax --- src/TerminalDisplay.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index 38860b3e..5ebd01c8 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -3422,9 +3422,7 @@ void TerminalDisplay::bell(const QString& message) void TerminalDisplay::visualBell() { swapFGBGColors(); - QTimer::singleShot(200, [this]() { - swapFGBGColors(); - }); + QTimer::singleShot(200, this, &Konsole::TerminalDisplay::swapFGBGColors); } void TerminalDisplay::swapFGBGColors()