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/profilewidget2.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/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index e8291e8e9..ad15b9162 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -815,9 +815,8 @@ void ProfileWidget2::dateTimeChanged() emit dateTimeChangedItems(); } -void ProfileWidget2::actionRequestedReplot(bool triggered) +void ProfileWidget2::actionRequestedReplot(bool) { - Q_UNUSED(triggered); settingsChanged(); } @@ -1765,11 +1764,8 @@ void ProfileWidget2::disconnectTemporaryConnections() } #ifndef SUBSURFACE_MOBILE -void ProfileWidget2::pointInserted(const QModelIndex &parent, int start, int end) +void ProfileWidget2::pointInserted(const QModelIndex&, int, int) { - Q_UNUSED(parent) - Q_UNUSED(start) - Q_UNUSED(end) DiveHandler *item = new DiveHandler(); scene()->addItem(item); handles << item; |