QQmlListCompositor: fix QT_QML_TRACE_LISTCOMPOSITOR build error
The error was: [...]/qqmllistcompositor.cpp: In member function ‘void QQmlListCompositor::clear()’: [...]/qqmllistcompositor.cpp:907:33: error: expected ‘;’ before string constant 907 | QT_QML_TRACE_LISTCOMPOSITOR("") | ^~ [...]/qqmllistcompositor.cpp:195:103: note: in definition of macro ‘QT_QML_TRACE_LISTCOMPOSITOR’ 195 | #define QT_QML_TRACE_LISTCOMPOSITOR(args) qDebug() << m_end.index[1] << m_end.index[0] << Q_FUNC_INFO args; | ^~~~ Pick-to: 6.8 Change-Id: I60b16707a31c40c44affe9129bc10bf8c9c393b6 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
f4cfd57272
commit
88e588b6bf
|
@ -904,7 +904,7 @@ void QQmlListCompositor::move(
|
|||
|
||||
void QQmlListCompositor::clear()
|
||||
{
|
||||
QT_QML_TRACE_LISTCOMPOSITOR("")
|
||||
QT_QML_TRACE_LISTCOMPOSITOR()
|
||||
for (Range *range = m_ranges.next; range != &m_ranges; range = erase(range)) {}
|
||||
m_end = iterator(m_ranges.next, 0, Default, m_groupCount);
|
||||
m_cacheIt = m_end;
|
||||
|
|
Loading…
Reference in New Issue