summaryrefslogtreecommitdiffstats
path: root/src/printsupport/platform
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 /src/printsupport/platform
parentd9cc1499954829faf9486fb72056e29f1bad58e3 (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 <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/printsupport/platform')
-rw-r--r--src/printsupport/platform/macos/qcocoaprintdevice.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printsupport/platform/macos/qcocoaprintdevice.mm b/src/printsupport/platform/macos/qcocoaprintdevice.mm
index fe7e1ee912..704418d194 100644
--- a/src/printsupport/platform/macos/qcocoaprintdevice.mm
+++ b/src/printsupport/platform/macos/qcocoaprintdevice.mm
@@ -215,8 +215,8 @@ QMarginsF QCocoaPrintDevice::printableMargins(const QPageSize &pageSize,
QPageLayout::Orientation orientation,
int resolution) const
{
- Q_UNUSED(orientation)
- Q_UNUSED(resolution)
+ Q_UNUSED(orientation);
+ Q_UNUSED(resolution);
if (!m_havePageSizes)
loadPageSizes();
if (m_printableMargins.contains(pageSize.key()))