From 4bdccc8abcd7ab3a80c0d84fd005452d5ffceb6b Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Sat, 27 Jun 2020 13:01:45 +0200 Subject: Add ; to Q_UNUSED This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: Id948c173695923a1ea83a2098bafc10cfd4dc22b Reviewed-by: Allan Sandfeld Jensen --- src/webenginewidgets/api/qwebenginepage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/webenginewidgets/api/qwebenginepage.cpp') diff --git a/src/webenginewidgets/api/qwebenginepage.cpp b/src/webenginewidgets/api/qwebenginepage.cpp index 6fb3c5c43..c3439fde5 100644 --- a/src/webenginewidgets/api/qwebenginepage.cpp +++ b/src/webenginewidgets/api/qwebenginepage.cpp @@ -548,7 +548,7 @@ QObject *QWebEnginePagePrivate::accessibilityParentObject() void QWebEnginePagePrivate::updateAction(QWebEnginePage::WebAction action) const { #ifdef QT_NO_ACTION - Q_UNUSED(action) + Q_UNUSED(action); #else QAction *a = actions[action]; if (!a) @@ -1041,8 +1041,8 @@ void QWebEnginePage::setWebChannel(QWebChannel *channel, uint worldId) d->adapter->setWebChannel(channel, worldId); } #else - Q_UNUSED(channel) - Q_UNUSED(worldId) + Q_UNUSED(channel); + Q_UNUSED(worldId); qWarning("WebEngine compiled without webchannel support"); #endif } -- cgit v1.2.3