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.
commitb54923156ed6645fd7042db281823de5831a4acb authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 1 Apr 2014, 22:55 (13 years ago) parentf69160a9641a01
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