mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f92daa456a
commit
065af62f59
7 changed files with 22 additions and 67 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue