Commit 37bd57e3 authored by Kurt Hindenburg's avatar Kurt Hindenburg

convert singleshot old connect syntax to new with lambda

parent 15ac1598
......@@ -2466,8 +2466,9 @@ void TerminalDisplay::mouseDoubleClickEvent(QMouseEvent* ev)
_possibleTripleClick = true;
QTimer::singleShot(QApplication::doubleClickInterval(), this,
SLOT(tripleClickTimeout()));
QTimer::singleShot(QApplication::doubleClickInterval(), [this]() {
_possibleTripleClick = false;
});
}
void TerminalDisplay::wheelEvent(QWheelEvent* ev)
......@@ -2537,11 +2538,6 @@ void TerminalDisplay::wheelEvent(QWheelEvent* ev)
}
}
void TerminalDisplay::tripleClickTimeout()
{
_possibleTripleClick = false;
}
void TerminalDisplay::viewScrolledByUser()
{
_sessionController->setSearchStartToWindowCurrentLine();
......
......@@ -758,7 +758,6 @@ private Q_SLOTS:
void unmaskBell();
void swapFGBGColors();
void tripleClickTimeout(); // resets possibleTripleClick
void viewScrolledByUser();
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment