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/gui/platform/unix/qgenericunixservices.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/platform/unix/qgenericunixservices.cpp') diff --git a/src/gui/platform/unix/qgenericunixservices.cpp b/src/gui/platform/unix/qgenericunixservices.cpp index 10d5468b9a7..cd32cd2a0b7 100644 --- a/src/gui/platform/unix/qgenericunixservices.cpp +++ b/src/gui/platform/unix/qgenericunixservices.cpp @@ -220,7 +220,7 @@ static inline QDBusMessage xdgDesktopPortalOpenFile(const QUrl &url) return QDBusConnection::sessionBus().call(message); } #else - Q_UNUSED(url) + Q_UNUSED(url); #endif return QDBusMessage::createError(QDBusError::InternalError, qt_error_string()); @@ -357,14 +357,14 @@ QByteArray QGenericUnixServices::desktopEnvironment() const bool QGenericUnixServices::openUrl(const QUrl &url) { - Q_UNUSED(url) + Q_UNUSED(url); qWarning("openUrl() not supported on this platform"); return false; } bool QGenericUnixServices::openDocument(const QUrl &url) { - Q_UNUSED(url) + Q_UNUSED(url); qWarning("openDocument() not supported on this platform"); return false; } -- cgit v1.2.3