No need to get section again
commitcd6a049048d0e338a151cbba6aa18f3f9d33da17
authorAlbert Astals <albert.astals@canonical.com>
dateTue 22 Jul 2014, 17:31 (12 years ago)
parentcbc4c26
plugins/Dash/listviewwithpageheader.cpp−1
@@ -1207,7 +1207,6 @@ void ListViewWithPageHeader::layout()
12071207 }
12081208 } else {
12091209 // Update the top sticky section header
1210− const QString section = m_delegateModel->stringValue(modelIndex, m_sectionProperty);
12111210 QQmlContext *context = QQmlEngine::contextForObject(m_topSectionItem)->parentContext();
12121211 context->setContextProperty(QLatin1String("section"), section);
12131212