mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: comment out function that is used by commented out code
The ProfileWidget2::getEntryFromPos() function was only used by code that was commented out. Thus comment it out as well. Moreover, turn the accompanying FIXME comments into TODO comments to avoid a new LGTML alert. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4724c88533
commit
459f9acc67
1 changed files with 3 additions and 1 deletions
|
@ -1378,6 +1378,7 @@ bool ProfileWidget2::isPlanner()
|
|||
return currentState == PLAN;
|
||||
}
|
||||
|
||||
#if 0 // TODO::: FINISH OR DISABLE
|
||||
struct plot_data *ProfileWidget2::getEntryFromPos(QPointF pos)
|
||||
{
|
||||
// find the time stamp corresponding to the mouse position
|
||||
|
@ -1391,6 +1392,7 @@ struct plot_data *ProfileWidget2::getEntryFromPos(QPointF pos)
|
|||
}
|
||||
return entry;
|
||||
}
|
||||
#endif
|
||||
|
||||
void ProfileWidget2::setReplot(bool state)
|
||||
{
|
||||
|
@ -1509,7 +1511,7 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
|
|||
connect(action, SIGNAL(triggered(bool)), this, SLOT(editName()));
|
||||
m.addAction(action);
|
||||
}
|
||||
#if 0 // FIXME::: FINISH OR DISABLE
|
||||
#if 0 // TODO::: FINISH OR DISABLE
|
||||
QPointF scenePos = mapToScene(event->pos());
|
||||
struct plot_data *entry = getEntryFromPos(scenePos);
|
||||
// this shows how to figure out if we should ask the user if they want adjust interpolated pressures
|
||||
|
|
Loading…
Add table
Reference in a new issue