Commit 0d937879 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make compile in qt6

parent c16be07d
Pipeline #177070 passed with stage
in 1 minute and 51 seconds
......@@ -92,7 +92,7 @@ void AkonadiSearchSyntaxHighlighter::init()
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
const QRegExp regex(s, Qt::CaseSensitive);
#else
const QRegularExpression regex(s, Qt::CaseSensitive);
const QRegularExpression regex(s);
#endif
m_rules.append(Rule(regex, testFormat));
}
......
Supports Markdown
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