summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2018-01-03 09:07:39 -0500
committerKurt Hindenburg <[email protected]>2018-01-03 09:07:39 -0500
commit923d26e0ebadd55ab457a2f0dd53ab1c03f5896a (patch)
tree7bbcd58d1ba276998334fcff9f4b41d03a308a05
parent6249ad2360ef6504ce115df6334b8b02440117b7 (diff)
change singleShot to use non-lambda new connect syntax
-rw-r--r--src/TerminalDisplay.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp
index 38860b3..5ebd01c 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()