From faa6f19b2ae498b0fb74eb6ac25504db4bfd26c0 Mon Sep 17 00:00:00 2001 From: Peng Wenhao Date: Fri, 12 Mar 2021 17:55:22 +0800 Subject: make qmljsDebugargumentsstring() and forceOpen() const Guessing the const specifier was accidentally forgotten Signed-off-by: Peng Wenhao Change-Id: I611acc8d67d3eb101df9c8d816dd5779241a79f8 Reviewed-by: Kai Koehne --- src/corelib/kernel/qcoreapplication_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/kernel/qcoreapplication_p.h') 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; -- cgit v1.2.3