forked from qt-creator/qt-creator
SubmitFileModel: Remove Q_FOREACH
Change-Id: Ie6cb01f6873ea3c438068d2963a648f0979f7133 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
ca95965b27
commit
7e45c2e7e2
@@ -93,7 +93,7 @@ static QList<QStandardItem *> createFileRow(const QString &repositoryRoot,
|
||||
const QList<QStandardItem *> row{statusItem, fileItem};
|
||||
if (statusHint != SubmitFileModel::FileStatusUnknown) {
|
||||
const QBrush textForeground = fileStatusTextForeground(statusHint);
|
||||
foreach (QStandardItem *item, row)
|
||||
for (QStandardItem *item : row)
|
||||
item->setForeground(textForeground);
|
||||
}
|
||||
return row;
|
||||
|
||||
Reference in New Issue
Block a user