Commit 27c5180e authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Remove unneeded call to KDeclarative::setupEngine

The comments claim that we need the NetworkAccessFactory.
However, we override the factory later on and delete the KDeclarative one.
parent 5af2dbde
Pipeline #219593 passed with stage
in 2 minutes and 25 seconds
......@@ -327,8 +327,6 @@ KQuickAddons::QuickViewSharedEngine *UnlockApp::createViewForScreen(QScreen *scr
view->setGeometry(geo);
});
// first create KDeclarative, to be sure that it created a KIO Network Factory
KDeclarative::KDeclarative::setupEngine(view->engine());
view->engine()->rootContext()->setContextObject(new KLocalizedContext(view->engine()));
if (!m_testing) {
......
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