diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-26 14:42:52 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-26 15:21:41 +0200 |
commit | 09e937788d0bb32a133fbf668b834fa13e7669c3 (patch) | |
tree | 0db182fd01569511994ea9ff570abc8dc40be9d7 /src/datavisualization/engine/abstract3dcontroller.cpp | |
parent | 3c7d4de151d0d87b687644381c5d8aaef06f21b2 (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I66f620431011d02cb1542e8ad613dadd28fdd843
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/datavisualization/engine/abstract3dcontroller.cpp')
-rw-r--r-- | src/datavisualization/engine/abstract3dcontroller.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/datavisualization/engine/abstract3dcontroller.cpp b/src/datavisualization/engine/abstract3dcontroller.cpp index 0fe0aa6d..40cbe88d 100644 --- a/src/datavisualization/engine/abstract3dcontroller.cpp +++ b/src/datavisualization/engine/abstract3dcontroller.cpp @@ -690,7 +690,7 @@ void Abstract3DController::handleThemeMultiHighlightGradientChanged(const QLinea void Abstract3DController::handleThemeTypeChanged(Q3DTheme::Theme theme) { - Q_UNUSED(theme) + Q_UNUSED(theme); // Changing theme type is logically equivalent of changing the entire theme // object, so reset all attached series to the new theme. @@ -1070,7 +1070,7 @@ void Abstract3DController::updateCustomItem() void Abstract3DController::handleAxisTitleChanged(const QString &title) { - Q_UNUSED(title) + Q_UNUSED(title); handleAxisTitleChangedBySender(sender()); } @@ -1111,8 +1111,8 @@ void Abstract3DController::handleAxisLabelsChangedBySender(QObject *sender) void Abstract3DController::handleAxisRangeChanged(float min, float max) { - Q_UNUSED(min) - Q_UNUSED(max) + Q_UNUSED(min); + Q_UNUSED(max); handleAxisRangeChangedBySender(sender()); } @@ -1135,7 +1135,7 @@ void Abstract3DController::handleAxisRangeChangedBySender(QObject *sender) void Abstract3DController::handleAxisSegmentCountChanged(int count) { - Q_UNUSED(count) + Q_UNUSED(count); handleAxisSegmentCountChangedBySender(sender()); } @@ -1154,7 +1154,7 @@ void Abstract3DController::handleAxisSegmentCountChangedBySender(QObject *sender void Abstract3DController::handleAxisSubSegmentCountChanged(int count) { - Q_UNUSED(count) + Q_UNUSED(count); handleAxisSubSegmentCountChangedBySender(sender()); } @@ -1183,13 +1183,13 @@ void Abstract3DController::handleAxisAutoAdjustRangeChanged(bool autoAdjust) void Abstract3DController::handleAxisLabelFormatChanged(const QString &format) { - Q_UNUSED(format) + Q_UNUSED(format); handleAxisLabelFormatChangedBySender(sender()); } void Abstract3DController::handleAxisReversedChanged(bool enable) { - Q_UNUSED(enable) + Q_UNUSED(enable); handleAxisReversedChangedBySender(sender()); } @@ -1200,19 +1200,19 @@ void Abstract3DController::handleAxisFormatterDirty() void Abstract3DController::handleAxisLabelAutoRotationChanged(float angle) { - Q_UNUSED(angle) + Q_UNUSED(angle); handleAxisLabelAutoRotationChangedBySender(sender()); } void Abstract3DController::handleAxisTitleVisibilityChanged(bool visible) { - Q_UNUSED(visible) + Q_UNUSED(visible); handleAxisTitleVisibilityChangedBySender(sender()); } void Abstract3DController::handleAxisTitleFixedChanged(bool fixed) { - Q_UNUSED(fixed) + Q_UNUSED(fixed); handleAxisTitleFixedChangedBySender(sender()); } @@ -1229,13 +1229,13 @@ void Abstract3DController::handleInputViewChanged(QAbstract3DInputHandler::Input void Abstract3DController::handleInputPositionChanged(const QPoint &position) { - Q_UNUSED(position) + Q_UNUSED(position); emitNeedRender(); } void Abstract3DController::handleSeriesVisibilityChanged(bool visible) { - Q_UNUSED(visible) + Q_UNUSED(visible); handleSeriesVisibilityChangedBySender(sender()); } @@ -1467,7 +1467,7 @@ void Abstract3DController::setAxisHelper(QAbstract3DAxis::AxisOrientation orient QAbstract3DAxis *Abstract3DController::createDefaultAxis( QAbstract3DAxis::AxisOrientation orientation) { - Q_UNUSED(orientation) + Q_UNUSED(orientation); // The default default axis is a value axis. If the graph type has a different default axis // for some orientation, this function needs to be overridden. |