diff --git a/lib/KeyboardTranslator.cpp b/lib/KeyboardTranslator.cpp index eaaac6c8..2983fdc7 100644 --- a/lib/KeyboardTranslator.cpp +++ b/lib/KeyboardTranslator.cpp @@ -454,7 +454,7 @@ bool KeyboardTranslatorReader::parseAsKeyCode(const QString& item , int& keyCode QKeySequence sequence = QKeySequence::fromString(item); if ( !sequence.isEmpty() ) { - keyCode = sequence[0]; + keyCode = sequence[0].toCombined(); if ( sequence.count() > 1 ) { diff --git a/lib/TerminalDisplay.cpp b/lib/TerminalDisplay.cpp index fd000593..3018f65a 100644 --- a/lib/TerminalDisplay.cpp +++ b/lib/TerminalDisplay.cpp @@ -3314,6 +3314,7 @@ void AutoScrollHandler::timerEvent(QTimerEvent* event) QMouseEvent mouseEvent( QEvent::MouseMove, widget()->mapFromGlobal(QCursor::pos()), + QCursor::pos(), Qt::NoButton, Qt::LeftButton, Qt::NoModifier);