summaryrefslogtreecommitdiffstats
path: root/src/webview
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 13:01:59 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-31 20:07:50 +0200
commitd880a13f03d0f9606e7989ffbb579a5c8cf362b2 (patch)
treea9f194e5638b07597036ee79db5c4a3175621f30 /src/webview
parente5aae7da3352931d286e18c4a4d3e69237479860 (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: Iba7f98e41459f95a4fb6dffd9e6d1996722d92e8 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/webview')
-rw-r--r--src/webview/qquickviewcontroller.cpp2
-rw-r--r--src/webview/qwebviewfactory.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/qquickviewcontroller.cpp b/src/webview/qquickviewcontroller.cpp
index 5986d23..35e2450 100644
--- a/src/webview/qquickviewcontroller.cpp
+++ b/src/webview/qquickviewcontroller.cpp
@@ -95,7 +95,7 @@ void QQuickViewChangeListener::itemGeometryChanged(QQuickItem *, QQuickGeometryC
void QQuickViewChangeListener::itemChildRemoved(QQuickItem *item, QQuickItem *child)
{
- Q_UNUSED(item)
+ Q_UNUSED(item);
Q_ASSERT(item != m_item);
const bool remove = (child == m_item) || isAncestor(child);
diff --git a/src/webview/qwebviewfactory.cpp b/src/webview/qwebviewfactory.cpp
index 8856168..06b8659 100644
--- a/src/webview/qwebviewfactory.cpp
+++ b/src/webview/qwebviewfactory.cpp
@@ -65,7 +65,7 @@ public:
void setVisible(bool visible) override { Q_UNUSED(visible); }
QString httpUserAgent() const override { return QString(); }
- void setHttpUserAgent(const QString &userAgent) override { Q_UNUSED(userAgent) }
+ void setHttpUserAgent(const QString &userAgent) override { Q_UNUSED(userAgent); }
QUrl url() const override { return QUrl(); }
void setUrl(const QUrl &url) override { Q_UNUSED(url); }
bool canGoBack() const override { return false; }