diff options
-rw-r--r-- | src/corelib/kernel/qcoreapplication_p.h | 2 | ||||
-rw-r--r-- | src/gui/painting/qstroker_p.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/src/gui/painting/qstroker_p.h b/src/gui/painting/qstroker_p.h index 28b55f8431..eb0e5d7ffa 100644 --- a/src/gui/painting/qstroker_p.h +++ b/src/gui/painting/qstroker_p.h @@ -228,7 +228,7 @@ public: qfixed miterLimit() const { return m_miterLimit; } void setForceOpen(bool state) { m_forceOpen = state; } - bool forceOpen() { return m_forceOpen; } + bool forceOpen() const { return m_forceOpen; } void joinPoints(qfixed x, qfixed y, const QLineF &nextLine, LineJoinMode join); inline void emitMoveTo(qfixed x, qfixed y); |