You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/02/24 21:52:11 UTC
[20/26] qt commit: Small fixes
Small fixes
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/commit/343a2c77
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/tree/343a2c77
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/diff/343a2c77
Branch: refs/heads/master
Commit: 343a2c77e8ebfee2d2dc2b34b5e166cd5151a6a9
Parents: d6b912c
Author: Denis Kormalev <dk...@ics.com>
Authored: Thu Feb 16 15:09:37 2012 +0400
Committer: Denis Kormalev <dk...@ics.com>
Committed: Thu Feb 16 15:09:37 2012 +0400
----------------------------------------------------------------------
cordovaqt.pro | 2 +-
mainwindow.h | 2 +-
qml/main.qml | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/343a2c77/cordovaqt.pro
----------------------------------------------------------------------
diff --git a/cordovaqt.pro b/cordovaqt.pro
index 64f6b51..3d11740 100644
--- a/cordovaqt.pro
+++ b/cordovaqt.pro
@@ -47,7 +47,7 @@ SOURCES += main.cpp \
src/cordova.cpp \
src/cplugin.cpp \
src/cwebpage.cpp
-HEADERS += mainwindow.h \
+HEADERS += \
src/plugins/notification.h \
src/plugins/geolocation.h \
src/plugins/fileapi.h \
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/343a2c77/mainwindow.h
----------------------------------------------------------------------
diff --git a/mainwindow.h b/mainwindow.h
index 4d6131b..f5428db 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -18,7 +18,7 @@
#define MAINWINDOW_H
#include "src/cordova.h"
-
+#include <QWebSettings>
#include <QMainWindow>
namespace Ui {
http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/343a2c77/qml/main.qml
----------------------------------------------------------------------
diff --git a/qml/main.qml b/qml/main.qml
index 034ebea..c9e805f 100644
--- a/qml/main.qml
+++ b/qml/main.qml
@@ -5,8 +5,8 @@ import "cordova_wrapper.js" as CordovaWrapper
WebView {
id: webView
- width: 400
- height: 450
+ width: 854
+ height: 480
experimental.preferences.navigatorQtObjectEnabled: true