on xenial help sign in
Fix build errors
commitc0e29793f0cfe0e57d5d13c8665f9b1a188af388 authorRicardo Mendoza <ricardo.mendoza@canonical.com> dateThu 5 Sep 2013, 14:41 (13 years ago) parentaab2c8a
1 file changed+2−4
main.cpp+2−4
main.cpp+2−4
@@ -76,7 +76,7 @@ void resolveIconTheme() {
7676}
7777} // namespace {
7878
79−int startShell(int argc, char** argv, ShellServerConfiguration* server)
79+int startShell(int argc, const char** argv, ShellServerConfiguration* server)
8080{
8181 /* Workaround Qt platform integration plugin not advertising itself
8282 as having the following capabilities:
@@ -152,9 +152,7 @@ int startShell(int argc, char** argv, ShellServerConfiguration* server)
152152 appendImportPaths(view->engine(), ::fallbackImportPaths());
153153
154154 QStringList importPath = view->engine()->importPathList().filter("qt5/imports");
155− qDebug << "Import list is: " << importPath.first();
156−
157− if (isUbuntuMirServer)
155+ if (isUbuntuMirServer) {
158156 importPath.first().append("/Unity-Mir");
159157 view->engine()->addImportPath(importPath.first());
160158 }