summaryrefslogtreecommitdiff
path: root/examples/widgets/richtext
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 14:18:09 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-07-07 11:51:48 +0200
commit6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch)
tree727427eb4c603e74954d4da462484ea7bf5c65bb /examples/widgets/richtext
parentd9cc1499954829faf9486fb72056e29f1bad58e3 (diff)
downloadqtbase-6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc.tar.gz
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 <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/richtext')
-rw-r--r--examples/widgets/richtext/textedit/textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/richtext/textedit/textedit.cpp b/examples/widgets/richtext/textedit/textedit.cpp
index 945869c88c..9504c8769d 100644
--- a/examples/widgets/richtext/textedit/textedit.cpp
+++ b/examples/widgets/richtext/textedit/textedit.cpp
@@ -570,7 +570,7 @@ void TextEdit::printPreview(QPrinter *printer)
#if defined(QT_PRINTSUPPORT_LIB) && QT_CONFIG(printer)
textEdit->print(printer);
#else
- Q_UNUSED(printer)
+ Q_UNUSED(printer);
#endif
}