From 3795e2c7bec9eb50a04d139e45ecc809c4aa37f6 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 30 Aug 2011 13:15:56 +0200 Subject: Move the qmljsdebugargument variable to QGuiApplication MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This used to reside in QApplication, but we need it here to remove a dependency of QtDeclarative onto widgets. Change-Id: I119fef1d51387087b00e08aff1ee4b00503a6cd5 Reviewed-on: http://codereview.qt.nokia.com/3926 Reviewed-by: Samuel Rødal --- src/gui/kernel/qguiapplication_p.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui') diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 511d3845d3..43cb21460e 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -176,6 +176,10 @@ public: static QFont *app_font; static bool quitOnLastWindowClosed; + + QString qmljs_debug_arguments; // a string containing arguments for js/qml debugging. + inline QString qmljsDebugArgumentsString() { return qmljs_debug_arguments; } + private: void init(); -- cgit v1.2.3