diff options
author | Lars Schmertmann <[email protected]> | 2020-06-27 14:18:09 +0200 |
---|---|---|
committer | Lars Schmertmann <[email protected]> | 2020-07-07 11:51:48 +0200 |
commit | 6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch) | |
tree | 727427eb4c603e74954d4da462484ea7bf5c65bb /tests/manual/diaglib/debugproxystyle.cpp | |
parent | d9cc1499954829faf9486fb72056e29f1bad58e3 (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I3f0b6717956ca8fa486bed9817b89dfa19f5e0e1
Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'tests/manual/diaglib/debugproxystyle.cpp')
-rw-r--r-- | tests/manual/diaglib/debugproxystyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/diaglib/debugproxystyle.cpp b/tests/manual/diaglib/debugproxystyle.cpp index dc95241473b..002220507b2 100644 --- a/tests/manual/diaglib/debugproxystyle.cpp +++ b/tests/manual/diaglib/debugproxystyle.cpp @@ -63,7 +63,7 @@ QDebug operator<<(QDebug debug, const QStyleOption *option) debug << ", \"" << (textSize < 20 ? ivo->text : ivo->text.left(20) + QLatin1String("...")) << '"'; debug << ", "; #else // Qt 5 - Q_UNUSED(ivo) + Q_UNUSED(ivo); #endif } else { debug << "QStyleOption("; |