summaryrefslogtreecommitdiffstats
path: root/tests/manual
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 /tests/manual
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 'tests/manual')
-rw-r--r--tests/manual/barstest/custominputhandler.cpp2
-rw-r--r--tests/manual/itemmodeltest/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/barstest/custominputhandler.cpp b/tests/manual/barstest/custominputhandler.cpp
index 3e61f904..e6fe9aa5 100644
--- a/tests/manual/barstest/custominputhandler.cpp
+++ b/tests/manual/barstest/custominputhandler.cpp
@@ -39,7 +39,7 @@ CustomInputHandler::CustomInputHandler(QObject *parent) :
//! [0]
void CustomInputHandler::mouseMoveEvent(QMouseEvent *event, const QPoint &mousePos)
{
- Q_UNUSED(event)
+ Q_UNUSED(event);
setInputPosition(mousePos);
}
//! [0]
diff --git a/tests/manual/itemmodeltest/main.cpp b/tests/manual/itemmodeltest/main.cpp
index 6cb97fc8..90a2e74e 100644
--- a/tests/manual/itemmodeltest/main.cpp
+++ b/tests/manual/itemmodeltest/main.cpp
@@ -216,8 +216,8 @@ void GraphDataGenerator::selectFromTable(const QPoint &selection)
void GraphDataGenerator::selectedFromTable(int currentRow, int currentColumn,
int previousRow, int previousColumn)
{
- Q_UNUSED(previousRow)
- Q_UNUSED(previousColumn)
+ Q_UNUSED(previousRow);
+ Q_UNUSED(previousColumn);
m_barGraph->seriesList().at(0)->setSelectedBar(QPoint(currentRow, currentColumn));
m_surfaceGraph->seriesList().at(0)->setSelectedPoint(QPoint(currentRow, currentColumn));
}