forked from qt-creator/qt-creator
Replace missing qAsConst with std::as_const()
Patch missing leftovers after recent batch patch.
Amends 8eb4d52342
Change-Id: I5469b8c10e6844cd1911f719ce3dddbb42697f95
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -276,7 +276,7 @@ void QmakeBuildConfiguration::updateProblemLabel()
|
||||
|
||||
if (!issues.isEmpty()) {
|
||||
QString text = QLatin1String("<nobr>");
|
||||
for (const ProjectExplorer::Task &task : qAsConst(issues)) {
|
||||
for (const ProjectExplorer::Task &task : std::as_const(issues)) {
|
||||
QString type;
|
||||
switch (task.type) {
|
||||
case ProjectExplorer::Task::Error:
|
||||
|
||||
Reference in New Issue
Block a user