Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM EventViews
Commits
699e17f6
Commit
699e17f6
authored
Aug 02, 2017
by
Laurent Montel
😁
Browse files
Use qAsConst here
parent
a8545b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/todo/incidencetreemodel.cpp
View file @
699e17f6
...
@@ -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
()
{
{
for
each
(
const
Node
::
Ptr
&
node
,
m_toplevelNodeList
)
{
for
(
const
Node
::
Ptr
&
node
:
qAsConst
(
m_toplevelNodeList
)
)
{
qCDebug
(
CALENDARVIEW_LOG
)
<<
node
;
qCDebug
(
CALENDARVIEW_LOG
)
<<
node
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment