on xenial help sign in
We'll only have the unity-mir and mock Ubuntu.Application plugins now, no need for mangling the import paths.
9641a01Michał Sawicz
src/main.cpp−6
@@ -119,12 +119,6 @@ int startShell(int argc, const char** argv, void* server)
119 prependImportPaths(view->engine(), ::overrideImportPaths());
119 prependImportPaths(view->engine(), ::overrideImportPaths());
120 appendImportPaths(view->engine(), ::fallbackImportPaths());
120 appendImportPaths(view->engine(), ::fallbackImportPaths());
121
121
122− if (isUbuntuMirServer) {
123− QStringList importPaths = view->engine()->importPathList();
124− importPaths.replaceInStrings(QRegExp("qt5/imports$"), "qt5/imports/Unity-Mir");
125− view->engine()->setImportPathList(importPaths);
126− }
127−
128 view->setSource(source);
122 view->setSource(source);
129 view->setColor("transparent");
123 view->setColor("transparent");
130
124