mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Move unused code into the disabled block
These varaiables are only used in the code that we currently aren't compiling. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e0b1d2dc84
commit
aabcff9c54
1 changed files with 2 additions and 2 deletions
|
@ -1394,8 +1394,6 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
|
|||
}
|
||||
}
|
||||
// create the profile context menu
|
||||
QPointF scenePos = mapToScene(event->pos());
|
||||
struct plot_data *entry = getEntryFromPos(scenePos);
|
||||
GasSelectionModel *model = GasSelectionModel::instance();
|
||||
model->repopulate();
|
||||
int rowCount = model->rowCount();
|
||||
|
@ -1438,6 +1436,8 @@ void ProfileWidget2::contextMenuEvent(QContextMenuEvent *event)
|
|||
m.addAction(action);
|
||||
}
|
||||
#if 0 // FIXME::: 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
|
||||
// at either side of a gas change
|
||||
if (dcEvent->type == SAMPLE_EVENT_GASCHANGE || dcEvent->type == SAMPLE_EVENT_GASCHANGE2) {
|
||||
|
|
Loading…
Reference in a new issue