Commit 699e17f6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qAsConst here

parent a8545b05
...@@ -113,7 +113,7 @@ void IncidenceTreeModel::Private::assert_and_dump(bool condition, const QString ...@@ -113,7 +113,7 @@ void IncidenceTreeModel::Private::assert_and_dump(bool condition, const QString
void IncidenceTreeModel::Private::dumpTree() void IncidenceTreeModel::Private::dumpTree()
{ {
foreach (const Node::Ptr &node, m_toplevelNodeList) { for (const Node::Ptr &node : qAsConst(m_toplevelNodeList)) {
qCDebug(CALENDARVIEW_LOG) << node; qCDebug(CALENDARVIEW_LOG) << node;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment