Code review comment for lp://qastaging/~unity-2d-team/unity-2d/launcher-layout

Revision history for this message
Florian Boucault (fboucault) wrote :

=== modified file 'launcher/app/launcher.cpp'
--- launcher/app/launcher.cpp 2011-02-08 10:41:55 +0000
+++ launcher/app/launcher.cpp 2011-02-11 11:57:46 +0000
@@ -76,12 +76,15 @@
     launcherView->setFocus();

     launcherView->engine()->addImportPath(unity2dImportPath());
+ launcherView->engine()->addImportPath(unity2dDirectory() + "/libunity-2d-private/");

This should _only_ be done when running un-installed. Please take example from places/app/places.cpp:

    if (!isRunningInstalled()) {
        [...]
        /* Place.qml imports Unity2d */
        view.engine()->addImportPath(unity2dDirectory() + "/libunity-2d-private/");
    }

review: Needs Fixing

« Back to merge proposal