diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-06 12:09:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-09 19:19:04 +0100 |
commit | 459f9acc67df74df206c313389e43d1bf5b80086 (patch) | |
tree | 376ac418669c3f47197f677bfd7cd81dfd63d5c5 /profile-widget/profilewidget2.cpp | |
parent | 4724c8853342580d2bc60bf85a566f6285330927 (diff) | |
download | subsurface-459f9acc67df74df206c313389e43d1bf5b80086.tar.gz |
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>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 40bd92fb9..32842a2f2 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -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 |