summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/engine/surface3dcontroller.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-26 14:42:52 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-26 15:21:41 +0200
commit09e937788d0bb32a133fbf668b834fa13e7669c3 (patch)
tree0db182fd01569511994ea9ff570abc8dc40be9d7 /src/datavisualization/engine/surface3dcontroller.cpp
parent3c7d4de151d0d87b687644381c5d8aaef06f21b2 (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/surface3dcontroller.cpp')
-rw-r--r--src/datavisualization/engine/surface3dcontroller.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/datavisualization/engine/surface3dcontroller.cpp b/src/datavisualization/engine/surface3dcontroller.cpp
index 1a140a5c..ba845ac1 100644
--- a/src/datavisualization/engine/surface3dcontroller.cpp
+++ b/src/datavisualization/engine/surface3dcontroller.cpp
@@ -112,8 +112,8 @@ void Surface3DController::synchDataToRenderer()
void Surface3DController::handleAxisAutoAdjustRangeChangedInOrientation(
QAbstract3DAxis::AxisOrientation orientation, bool autoAdjust)
{
- Q_UNUSED(orientation)
- Q_UNUSED(autoAdjust)
+ Q_UNUSED(orientation);
+ Q_UNUSED(autoAdjust);
adjustAxisRanges();
}
@@ -416,8 +416,8 @@ void Surface3DController::handleItemChanged(int rowIndex, int columnIndex)
void Surface3DController::handleRowsAdded(int startIndex, int count)
{
- Q_UNUSED(startIndex)
- Q_UNUSED(count)
+ Q_UNUSED(startIndex);
+ Q_UNUSED(count);
QSurface3DSeries *series = static_cast<QSurfaceDataProxy *>(sender())->series();
if (series->isVisible()) {
adjustAxisRanges();
@@ -430,8 +430,8 @@ void Surface3DController::handleRowsAdded(int startIndex, int count)
void Surface3DController::handleRowsInserted(int startIndex, int count)
{
- Q_UNUSED(startIndex)
- Q_UNUSED(count)
+ Q_UNUSED(startIndex);
+ Q_UNUSED(count);
QSurface3DSeries *series = static_cast<QSurfaceDataProxy *>(sender())->series();
if (series == m_selectedSeries) {
// If rows inserted to selected series before the selection, adjust the selection
@@ -454,8 +454,8 @@ void Surface3DController::handleRowsInserted(int startIndex, int count)
void Surface3DController::handleRowsRemoved(int startIndex, int count)
{
- Q_UNUSED(startIndex)
- Q_UNUSED(count)
+ Q_UNUSED(startIndex);
+ Q_UNUSED(count);
QSurface3DSeries *series = static_cast<QSurfaceDataProxy *>(sender())->series();
if (series == m_selectedSeries) {
// If rows removed from selected series before the selection, adjust the selection