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/bars3dcontroller.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/bars3dcontroller.cpp')
-rw-r--r-- | src/datavisualization/engine/bars3dcontroller.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/datavisualization/engine/bars3dcontroller.cpp b/src/datavisualization/engine/bars3dcontroller.cpp index 6b304026..a6bfd080 100644 --- a/src/datavisualization/engine/bars3dcontroller.cpp +++ b/src/datavisualization/engine/bars3dcontroller.cpp @@ -167,8 +167,8 @@ void Bars3DController::handleArrayReset() void Bars3DController::handleRowsAdded(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QBar3DSeries *series = static_cast<QBarDataProxy *>(sender())->series(); if (series->isVisible()) { adjustAxisRanges(); @@ -217,8 +217,8 @@ void Bars3DController::handleRowsChanged(int startIndex, int count) void Bars3DController::handleRowsRemoved(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QBar3DSeries *series = static_cast<QBarDataProxy *>(sender())->series(); if (series == m_selectedBarSeries) { @@ -246,8 +246,8 @@ void Bars3DController::handleRowsRemoved(int startIndex, int count) void Bars3DController::handleRowsInserted(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QBar3DSeries *series = static_cast<QBarDataProxy *>(sender())->series(); if (series == m_selectedBarSeries) { // If rows inserted to selected series before the selection, adjust the selection @@ -325,8 +325,8 @@ void Bars3DController::handleDataColumnLabelsChanged() void Bars3DController::handleAxisAutoAdjustRangeChangedInOrientation( QAbstract3DAxis::AxisOrientation orientation, bool autoAdjust) { - Q_UNUSED(orientation) - Q_UNUSED(autoAdjust) + Q_UNUSED(orientation); + Q_UNUSED(autoAdjust); adjustAxisRanges(); } |