From 09e937788d0bb32a133fbf668b834fa13e7669c3 Mon Sep 17 00:00:00 2001 From: Lars Schmertmann Date: Fri, 26 Jun 2020 14:42:52 +0200 Subject: 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 Reviewed-by: Jarek Kobus --- src/datavisualization/engine/surface3dcontroller.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/datavisualization/engine/surface3dcontroller.cpp') 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(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(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(sender())->series(); if (series == m_selectedSeries) { // If rows removed from selected series before the selection, adjust the selection -- cgit v1.2.3