mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
refactor: Resolve some clang warnings (#915)
This commit is contained in:
@@ -22,7 +22,7 @@ bool ColorsOption::validate(Parser & parser, QString & value)
|
||||
QRegularExpressionMatch match = hexRe.match(value);
|
||||
if(match.hasMatch())
|
||||
{
|
||||
for(const QString m : match.capturedTexts())
|
||||
for(const QString & m : match.capturedTexts())
|
||||
{
|
||||
_colors.push_back(QColor(QString("#%1").arg(m)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user