SubmitFileModel: Remove Q_FOREACH

Change-Id: Ie6cb01f6873ea3c438068d2963a648f0979f7133
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2017-05-18 21:20:08 +02:00
committed by André Hartmann
parent ca95965b27
commit 7e45c2e7e2

View File

@@ -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;