summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qplatformprintersupport.cpp
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/kernel/qplatformprintersupport.cpp
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/kernel/qplatformprintersupport.cpp')
-rw-r--r--src/printsupport/kernel/qplatformprintersupport.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/printsupport/kernel/qplatformprintersupport.cpp b/src/printsupport/kernel/qplatformprintersupport.cpp
index a25dc6d45c..31fe5b57af 100644
--- a/src/printsupport/kernel/qplatformprintersupport.cpp
+++ b/src/printsupport/kernel/qplatformprintersupport.cpp
@@ -85,7 +85,7 @@ QPrintDevice QPlatformPrinterSupport::createPrintDevice(QPlatformPrintDevice *de
QPrintDevice QPlatformPrinterSupport::createPrintDevice(const QString &id)
{
- Q_UNUSED(id)
+ Q_UNUSED(id);
return QPrintDevice();
}
@@ -101,9 +101,9 @@ QString QPlatformPrinterSupport::defaultPrintDeviceId() const
QPageSize QPlatformPrinterSupport::createPageSize(const QString &id, QSize size, const QString &localizedName)
{
- Q_UNUSED(id)
- Q_UNUSED(size)
- Q_UNUSED(localizedName)
+ Q_UNUSED(id);
+ Q_UNUSED(size);
+ Q_UNUSED(localizedName);
return QPageSize();
}