diff options
| author | Lars Schmertmann <[email protected]> | 2020-06-27 14:18:09 +0200 |
|---|---|---|
| committer | Lars Schmertmann <[email protected]> | 2020-07-07 11:51:48 +0200 |
| commit | 6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch) | |
| tree | 727427eb4c603e74954d4da462484ea7bf5c65bb /src/gui/kernel/qplatforminputcontext.cpp | |
| parent | d9cc1499954829faf9486fb72056e29f1bad58e3 (diff) | |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I3f0b6717956ca8fa486bed9817b89dfa19f5e0e1
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'src/gui/kernel/qplatforminputcontext.cpp')
| -rw-r--r-- | src/gui/kernel/qplatforminputcontext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qplatforminputcontext.cpp b/src/gui/kernel/qplatforminputcontext.cpp index 9771e6ba11f..83a05d0221b 100644 --- a/src/gui/kernel/qplatforminputcontext.cpp +++ b/src/gui/kernel/qplatforminputcontext.cpp @@ -106,7 +106,7 @@ bool QPlatformInputContext::isValid() const */ bool QPlatformInputContext::hasCapability(Capability capability) const { - Q_UNUSED(capability) + Q_UNUSED(capability); return true; } @@ -136,7 +136,7 @@ void QPlatformInputContext::update(Qt::InputMethodQueries) */ void QPlatformInputContext::invokeAction(QInputMethod::Action action, int cursorPosition) { - Q_UNUSED(cursorPosition) + Q_UNUSED(cursorPosition); // Default behavior for simple ephemeral input contexts. Some // complex input contexts should not be reset here. if (action == QInputMethod::Click) @@ -151,7 +151,7 @@ void QPlatformInputContext::invokeAction(QInputMethod::Action action, int cursor */ bool QPlatformInputContext::filterEvent(const QEvent *event) { - Q_UNUSED(event) + Q_UNUSED(event); return false; } @@ -251,7 +251,7 @@ void QPlatformInputContext::emitInputDirectionChanged(Qt::LayoutDirection newDir */ void QPlatformInputContext::setFocusObject(QObject *object) { - Q_UNUSED(object) + Q_UNUSED(object); } /*! |
