diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-30 13:15:56 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-08-31 11:45:33 +0200 |
commit | 3795e2c7bec9eb50a04d139e45ecc809c4aa37f6 (patch) | |
tree | 0cf8a727b6275528565742640fc3c389912ae0a6 /src/gui | |
parent | 0e3ac5dea62e5427aa46e8c34cc4c85554d824c9 (diff) |
Move the qmljsdebugargument variable to QGuiApplication
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 <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qguiapplication_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |