change singleShot to use non-lambda new connect syntax

wilder-portage
Kurt Hindenburg 8 years ago
parent 6249ad2360
commit 923d26e0eb
  1. 4
      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()

Loading…
Cancel
Save