summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 14:18:09 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-07 11:51:48 +0200
commit6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch)
tree727427eb4c603e74954d4da462484ea7bf5c65bb /src/gui/kernel/qplatformwindow.cpp
parentd9cc1499954829faf9486fb72056e29f1bad58e3 (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 <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.cpp')
-rw-r--r--src/gui/kernel/qplatformwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qplatformwindow.cpp b/src/gui/kernel/qplatformwindow.cpp
index fc736033c2..c6e6afcc91 100644
--- a/src/gui/kernel/qplatformwindow.cpp
+++ b/src/gui/kernel/qplatformwindow.cpp
@@ -492,7 +492,7 @@ bool QPlatformWindow::windowEvent(QEvent *event)
bool QPlatformWindow::startSystemResize(Qt::Edges edges)
{
- Q_UNUSED(edges)
+ Q_UNUSED(edges);
return false;
}
@@ -519,7 +519,7 @@ bool QPlatformWindow::startSystemMove()
void QPlatformWindow::setFrameStrutEventsEnabled(bool enabled)
{
- Q_UNUSED(enabled) // Do not warn as widgets enable it by default causing warnings with XCB.
+ Q_UNUSED(enabled); // Do not warn as widgets enable it by default causing warnings with XCB.
}
/*!
@@ -607,7 +607,7 @@ QSize QPlatformWindow::constrainWindowSize(const QSize &size)
void QPlatformWindow::setAlertState(bool enable)
{
- Q_UNUSED(enable)
+ Q_UNUSED(enable);
}
/*!