From 6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Sat, 27 Jun 2020 14:18:09 +0200 Subject: 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 --- src/plugins/platforms/qnx/qqnxnativeinterface.cpp | 2 +- src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/platforms/qnx') diff --git a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp index 25f7b09a60..fd341f40d1 100644 --- a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp +++ b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp @@ -134,7 +134,7 @@ QPlatformNativeInterface::NativeResourceForIntegrationFunction QQnxNativeInterfa if (resource == "blackberryIMFCheckSpelling") return reinterpret_cast(QQnxInputContext::checkSpelling); #else - Q_UNUSED(resource) + Q_UNUSED(resource); #endif return 0; } diff --git a/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp b/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp index dd7f907ee0..e70092b97e 100644 --- a/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp +++ b/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp @@ -79,7 +79,7 @@ QPaintDevice *QQnxRasterBackingStore::paintDevice() void QQnxRasterBackingStore::flush(QWindow *window, const QRegion ®ion, const QPoint &offset) { - Q_UNUSED(offset) + Q_UNUSED(offset); qRasterBackingStoreDebug() << "w =" << this->window(); -- cgit v1.2.3