Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 77f6c3a6 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 0ad61a53
......@@ -144,7 +144,11 @@ void PlainTextSyntaxSpellCheckingHighlighter::highlightBlock(const QString &text
const auto nextBlock = currentBlock().next();
if (nextBlock.isValid()) {
QMetaObject::invokeMethod(this, [this, nextBlock] { rehighlightBlock(nextBlock); }, Qt::QueuedConnection);
QMetaObject::invokeMethod(this, "rehighlightBlock", Qt::QueuedConnection, Q_ARG(QTextBlock, nextBlock));
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