More Qt6 fixes
Smaller stuff missing in the last batch, see individual commits for details.
Now there's only two issues remaining, QEvent copying in vimode macro recorder and the QTextStream::setCodec call in TextBuffer.
Smaller stuff missing in the last batch, see individual commits for details.
Now there's only two issues remaining, QEvent copying in vimode macro recorder and the QTextStream::setCodec call in TextBuffer.