diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 12:58:39 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-30 22:33:53 +0200 |
commit | 01206518b98f171186c86605b06ceee6219a8097 (patch) | |
tree | 119c37cc14777dfc2fba76b35b15b3cbe9d2991d /src/sensors/doc/snippets/sensors/creating.cpp | |
parent | ced37650052b3ce6654fa40bd8e2d817c1418feb (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I36a9c2a142b8485755b8849b839eac972e288bf6
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/sensors/doc/snippets/sensors/creating.cpp')
-rw-r--r-- | src/sensors/doc/snippets/sensors/creating.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/doc/snippets/sensors/creating.cpp b/src/sensors/doc/snippets/sensors/creating.cpp index 4a5ef06d..be2070dd 100644 --- a/src/sensors/doc/snippets/sensors/creating.cpp +++ b/src/sensors/doc/snippets/sensors/creating.cpp @@ -57,7 +57,7 @@ QAccelerometer *sensor = new QAccelerometer(this); QOrientationSensor orient_sensor; //! [Creating a sensor] - Q_UNUSED(sensor) + Q_UNUSED(sensor); Q_UNUSED(orient_sensor); { |