From 5b18c6d4b7cd5c24733d4e92f3d42771c9adf3c2 Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Tue, 23 Jun 2020 17:01:08 +0200 Subject: Add ; to Q_UNUSED This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: Ie1081f1a8a35e1ae7f57697dafee066969463967 Reviewed-by: Friedemann Kleint --- tools/testcon/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/testcon/mainwindow.cpp b/tools/testcon/mainwindow.cpp index 5bee9c4..1e5347e 100644 --- a/tools/testcon/mainwindow.cpp +++ b/tools/testcon/mainwindow.cpp @@ -476,7 +476,7 @@ bool MainWindow::loadScript(const QString &file) } return script; #else // !QT_NO_QAXSCRIPT - Q_UNUSED(file) + Q_UNUSED(file); noScriptMessage(this); return false; #endif -- cgit v1.2.3