mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-06 17:25:24 +08:00
6.5.3 clean
This commit is contained in:
@ -745,8 +745,8 @@ void PaintCommands::runCommand(const QString &scriptLine)
|
||||
return;
|
||||
}
|
||||
QString firstWord = scriptLine.section(separators, 0, 0);
|
||||
QList<int> indices = s_commandHash.values(firstWord);
|
||||
foreach(int idx, indices) {
|
||||
const QList<int> indices = s_commandHash.values(firstWord);
|
||||
for (int idx : indices) {
|
||||
PaintCommandInfos command = s_commandInfoTable.at(idx);
|
||||
Q_ASSERT(command.regExp.isValid());
|
||||
QRegularExpressionMatch match = command.regExp.match(scriptLine);
|
||||
|
Reference in New Issue
Block a user