mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
c1c35ad48b
commit
c1ede48552
3 changed files with 1 additions and 560 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue