Commit 22f83ae0 authored by Eike Hein's avatar Eike Hein
Browse files

Fix submodel population

Submodels are exclusively created from C++, so the QQmlParserStatus
contract does not run. Run componentComplete() manually to cause a
refresh.
parent 7e514201
......@@ -51,7 +51,7 @@ AppsModel::AppsModel(const QString &entryPath, bool paginate, int pageSize, bool
, m_appNameFormat(AppEntry::NameOnly)
{
if (!m_entryPath.isEmpty()) {
refresh();
componentComplete();
}
}
......
Supports Markdown
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