diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-26 14:43:02 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-26 19:18:03 +0200 |
commit | e79281533d61dda90d1c5995345a66e6089c7501 (patch) | |
tree | 5033642cb0ae1d76aa0fc0525e153c04eefc921d /tools | |
parent | 6d8aca544ccb1e2624a679e2d65622461f643291 (diff) |
Add ; to Q_UNUSED and UNUSED_PARAM
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: Iead53d18fd790fb2d870d80ef2db79666f0d2392
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qml/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp index bf1f96b54f..64ed09cf48 100644 --- a/tools/qml/main.cpp +++ b/tools/qml/main.cpp @@ -229,7 +229,7 @@ public: public Q_SLOTS: void checkFinished(QObject *o, const QUrl &url) { - Q_UNUSED(url) + Q_UNUSED(url); if (o) { checkForWindow(o); if (conf && qae) @@ -286,7 +286,7 @@ void LoadWatcher::checkForWindow(QObject *o) if (o->isWindowType() && o->inherits("QQuickWindow")) haveWindow = true; #else - Q_UNUSED(o) + Q_UNUSED(o); #endif // QT_GUI_LIB } @@ -338,8 +338,8 @@ static void getAppFlags(int argc, char **argv) } } #else - Q_UNUSED(argc) - Q_UNUSED(argv) + Q_UNUSED(argc); + Q_UNUSED(argv); #endif // QT_GUI_LIB } |