OSDN Git Service

Some minor mobile app template fixes.
authorkh1 <qt-info@nokia.com>
Fri, 15 Oct 2010 10:45:08 +0000 (12:45 +0200)
committerkh1 <qt-info@nokia.com>
Fri, 15 Oct 2010 10:45:08 +0000 (12:45 +0200)
Reviewed-by: ck
share/qtcreator/templates/mobileapp/mainwindow.h
share/qtcreator/templates/shared/app.desktop

index dc9813d..ce2919b 100644 (file)
@@ -9,6 +9,7 @@ namespace Ui {
 
 class MainWindow : public QMainWindow
 {
+    Q_OBJECT
 public:
     enum Orientation {
         LockPortrait,
index e9d9304..8ecd3ce 100644 (file)
@@ -4,7 +4,7 @@ Version=1.0
 Type=Application
 Terminal=false
 Name=thisApp
-Exec=/opt/bin/thisApp
+Exec=/opt/usr/bin/thisApp
 Icon=thisApp
 X-Window-Icon=
 X-HildonDesk-ShowInToolbar=true