summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication_p.h
diff options
context:
space:
mode:
authorPeng Wenhao <pengwenhao@uniontech.com>2021-03-12 17:55:22 +0800
committerPeng Wenhao <pengwenhao@uniontech.com>2021-03-13 20:47:50 +0800
commitfaa6f19b2ae498b0fb74eb6ac25504db4bfd26c0 (patch)
treea1db03906912c4651b10a5d291461a899ff6b70c /src/corelib/kernel/qcoreapplication_p.h
parentb0680cf5b105cac7535351928d31ac751ccb7131 (diff)
make qmljsDebugargumentsstring() and forceOpen() const
Guessing the const specifier was accidentally forgotten Signed-off-by: Peng Wenhao <pengwenhao@uniontech.com> Change-Id: I611acc8d67d3eb101df9c8d816dd5779241a79f8 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication_p.h')
-rw-r--r--src/corelib/kernel/qcoreapplication_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qcoreapplication_p.h b/src/corelib/kernel/qcoreapplication_p.h
index 7b60ef5698..a888c4310f 100644
--- a/src/corelib/kernel/qcoreapplication_p.h
+++ b/src/corelib/kernel/qcoreapplication_p.h
@@ -198,7 +198,7 @@ public:
void processCommandLineArguments();
QString qmljs_debug_arguments; // a string containing arguments for js/qml debugging.
- inline QString qmljsDebugArgumentsString() { return qmljs_debug_arguments; }
+ inline QString qmljsDebugArgumentsString() const { return qmljs_debug_arguments; }
#ifdef QT_NO_QOBJECT
QCoreApplication *q_ptr;