profile: remove profilewidget2.cpp

The functionality was ported to QtQuick. Now let's make the
planner work.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-09 16:09:36 +01:00
parent c1c35ad48b
commit c1ede48552
3 changed files with 1 additions and 560 deletions

View file

@ -564,7 +564,7 @@ void ProfileView::contextMenu(const QPointF pos, const QPoint globalPos)
Command::addEventBookmark(mutable_dive(), dc, seconds);
});
m.emplace_back(tr("Split dive into two"), [this, seconds]() {
Command::splitDives(mutable_dive(), duration_t{ seconds });
Command::splitDives(mutable_dive(), duration_t{ .seconds = seconds });
});
std::vector<MenuEntry> changeModeMenu;