~unity-2d-team/unity-2d/dash-not-dock

« back to all changes in this revision

Viewing changes to debian/patches/launcher-set-base-url.patch

  • Committer: Olivier Tilloy
  • Date: 2010-09-01 10:01:58 UTC
  • Revision ID: olivier.tilloy@canonical.com-20100901100158-dl0gfqvd3rmmn5d4
Tags: 0.0~bzr7
Initial packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: launcher/launcher/launcher.cpp
 
2
===================================================================
 
3
--- launcher.orig/launcher/launcher.cpp 2010-09-01 11:46:33.000000000 +0200
 
4
+++ launcher/launcher/launcher.cpp      2010-09-01 11:47:56.000000000 +0200
 
5
@@ -19,12 +19,14 @@
 
6
 
 
7
 #include <QApplication>
 
8
 #include <QDeclarativeView>
 
9
+#include <QDeclarativeEngine>
 
10
 
 
11
 int main(int argc, char *argv[])
 
12
 {
 
13
     QApplication application(argc, argv);
 
14
 
 
15
     QDeclarativeView view;
 
16
+    view.engine()->setBaseUrl(QUrl::fromLocalFile("/usr/share/unity-qt/"));
 
17
     view.setSource(QUrl("./Launcher.qml"));
 
18
 
 
19
     return application.exec();