diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 18:20:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 12:48:04 -0700 |
commit | 065af62f59c2244cf0c80e54218692c95dd7c0cd (patch) | |
tree | 6daf067763e839d78f40b565a180d2c57242e3c5 /profile-widget/tankitem.cpp | |
parent | f92daa456ad343254a8fbde01660ae8160678fc4 (diff) | |
download | subsurface-065af62f59c2244cf0c80e54218692c95dd7c0cd.tar.gz |
profile-widget: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'profile-widget/tankitem.cpp')
-rw-r--r-- | profile-widget/tankitem.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/profile-widget/tankitem.cpp b/profile-widget/tankitem.cpp index 2a8449827..22e5d3d21 100644 --- a/profile-widget/tankitem.cpp +++ b/profile-widget/tankitem.cpp @@ -82,10 +82,8 @@ void TankItem::createBar(qreal x, qreal w, struct gasmix *gas) label->setZValue(101); } -void TankItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) +void TankItem::modelDataChanged(const QModelIndex&, const QModelIndex&) { - Q_UNUSED(topLeft); - Q_UNUSED(bottomRight); // We don't have enougth data to calculate things, quit. if (!dataModel || !pInfoEntry || !pInfoNr) return; |