summaryrefslogtreecommitdiffstats
path: root/examples/charts/modeldata
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-26 14:42:25 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-26 15:21:30 +0200
commit6852c79c458df659e440c26d91a11a2c8120d875 (patch)
tree38c682486b965b640e65398f2930bdea250a5602 /examples/charts/modeldata
parent10b3639bf28e384cec0eba882de1e73e91462a2e (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I0d9e3a48056294137f1465f091802b4b7c32c8bf Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples/charts/modeldata')
-rw-r--r--examples/charts/modeldata/customtablemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/charts/modeldata/customtablemodel.cpp b/examples/charts/modeldata/customtablemodel.cpp
index 96256232..dfa92944 100644
--- a/examples/charts/modeldata/customtablemodel.cpp
+++ b/examples/charts/modeldata/customtablemodel.cpp
@@ -54,13 +54,13 @@ CustomTableModel::CustomTableModel(QObject *parent) :
int CustomTableModel::rowCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return m_data.count();
}
int CustomTableModel::columnCount(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return m_columnCount;
}