summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatforminputcontext_qpa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatforminputcontext_qpa.cpp')
-rw-r--r--src/gui/kernel/qplatforminputcontext_qpa.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/kernel/qplatforminputcontext_qpa.cpp b/src/gui/kernel/qplatforminputcontext_qpa.cpp
index 04610890dc..8612b4b42f 100644
--- a/src/gui/kernel/qplatforminputcontext_qpa.cpp
+++ b/src/gui/kernel/qplatforminputcontext_qpa.cpp
@@ -244,15 +244,14 @@ void QPlatformInputContext::setFocusObject(QObject *object)
*/
bool QPlatformInputContext::inputMethodAccepted() const
{
- Q_D(const QPlatformInputContext);
- return d->s_inputMethodAccepted;
+ return QPlatformInputContextPrivate::s_inputMethodAccepted;
}
bool QPlatformInputContextPrivate::s_inputMethodAccepted = false;
void QPlatformInputContextPrivate::setInputMethodAccepted(bool accepted)
{
- s_inputMethodAccepted = accepted;
+ QPlatformInputContextPrivate::s_inputMethodAccepted = accepted;
}