summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eglconvenience/qeglconvenience.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/platformsupport/eglconvenience/qeglconvenience.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/platformsupport/eglconvenience/qeglconvenience.cpp')
-rw-r--r--src/platformsupport/eglconvenience/qeglconvenience.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp
index c689836d75..5d850f6e20 100644
--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp
+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp
@@ -468,7 +468,7 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config)
QSizeF q_physicalScreenSizeFromFb(int framebufferDevice, const QSize &screenSize)
{
#ifndef Q_OS_LINUX
- Q_UNUSED(framebufferDevice)
+ Q_UNUSED(framebufferDevice);
#endif
const int defaultPhysicalDpi = 100;
static QSizeF size;
@@ -521,7 +521,7 @@ QSizeF q_physicalScreenSizeFromFb(int framebufferDevice, const QSize &screenSize
QSize q_screenSizeFromFb(int framebufferDevice)
{
#ifndef Q_OS_LINUX
- Q_UNUSED(framebufferDevice)
+ Q_UNUSED(framebufferDevice);
#endif
const int defaultWidth = 800;
const int defaultHeight = 600;
@@ -565,7 +565,7 @@ QSize q_screenSizeFromFb(int framebufferDevice)
int q_screenDepthFromFb(int framebufferDevice)
{
#ifndef Q_OS_LINUX
- Q_UNUSED(framebufferDevice)
+ Q_UNUSED(framebufferDevice);
#endif
const int defaultDepth = 32;
static int depth = qEnvironmentVariableIntValue("QT_QPA_EGLFS_DEPTH");
@@ -594,7 +594,7 @@ int q_screenDepthFromFb(int framebufferDevice)
qreal q_refreshRateFromFb(int framebufferDevice)
{
#ifndef Q_OS_LINUX
- Q_UNUSED(framebufferDevice)
+ Q_UNUSED(framebufferDevice);
#endif
static qreal rate = 0;