mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
minor refactor
This commit is contained in:
2
3rdparty/qv2ray/v2/ui/LogHighlighter.cpp
vendored
2
3rdparty/qv2ray/v2/ui/LogHighlighter.cpp
vendored
@@ -118,7 +118,7 @@ namespace Qv2ray::ui {
|
||||
}
|
||||
|
||||
void SyntaxHighlighter::highlightBlock(const QString &text) {
|
||||
for (const HighlightingRule &rule: qAsConst(highlightingRules)) {
|
||||
for (const HighlightingRule &rule: highlightingRules) {
|
||||
QRegularExpressionMatchIterator matchIterator = rule.pattern.globalMatch(text);
|
||||
|
||||
while (matchIterator.hasNext()) {
|
||||
|
||||
Reference in New Issue
Block a user