on xenial help sign in
remove debug
88d88ebAlbert Astals
plugins/ListViewWithPageHeader/listviewwithpageheader.cpp−1
@@ -1167,7 +1167,6 @@ void ListViewWithPageHeader::layout()
1167 // Update the top sticky section header
1167 // Update the top sticky section header
1168 const QString section = m_delegateModel->stringValue(modelIndex, m_sectionProperty);
1168 const QString section = m_delegateModel->stringValue(modelIndex, m_sectionProperty);
1169 QQmlContext *context = QQmlEngine::contextForObject(m_topSectionItem)->parentContext();
1169 QQmlContext *context = QQmlEngine::contextForObject(m_topSectionItem)->parentContext();
1170− qDebug() << modelIndex << section;
1171 context->setContextProperty(QLatin1String("section"), section);
1170 context->setContextProperty(QLatin1String("section"), section);
1172
1171
1173 QQuickItemPrivate::get(m_topSectionItem)->setCulled(false);
1172 QQuickItemPrivate::get(m_topSectionItem)->setCulled(false);
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertestsection.cpp−1
@@ -20,7 +20,6 @@
20#include <QQmlEngine>
20#include <QQmlEngine>
21#include <QQuickView>
21#include <QQuickView>
22#include <QSignalSpy>
22#include <QSignalSpy>
23−#include <QSortFilterProxyModel>
24#include <QtTestGui>
23#include <QtTestGui>
25#pragma GCC diagnostic push
24#pragma GCC diagnostic push
26#pragma GCC diagnostic ignored "-pedantic"
25#pragma GCC diagnostic ignored "-pedantic"