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.
commit9641a015f41318a484f257135fbcfa62d385cfaf authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 28 Mar 2014, 14:13 (13 years ago) parentfe8ee39
1 file changed−6
src/main.cpp−6
src/main.cpp−6
@@ -119,12 +119,6 @@ int startShell(int argc, const char** argv, void* server)
119119 prependImportPaths(view->engine(), ::overrideImportPaths());
120120 appendImportPaths(view->engine(), ::fallbackImportPaths());
121121
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−
128122 view->setSource(source);
129123 view->setColor("transparent");
130124