mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
remove unnecessary 2nd argument from Session::request_locate() calls (default value is identical)
This commit is contained in:
parent
c7c5379fac
commit
ac53a9bbf8
8 changed files with 15 additions and 15 deletions
|
|
@ -718,7 +718,7 @@ MiniTimeline::on_button_release_event (GdkEventButton *ev)
|
|||
if (ev->y <= PADDING + _marker_height) {
|
||||
for (JumpList::const_iterator i = _jumplist.begin (); i != _jumplist.end(); ++i) {
|
||||
if (i->left <= ev->x && ev->x <= i->right) {
|
||||
_session->request_locate (i->to, RollIfAppropriate);
|
||||
_session->request_locate (i->to);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -726,7 +726,7 @@ MiniTimeline::on_button_release_event (GdkEventButton *ev)
|
|||
|
||||
if (ev->button == 1) {
|
||||
samplepos_t when = _last_update_sample + (ev->x - get_width() * .5) / _px_per_sample;
|
||||
_session->request_locate (std::max ((samplepos_t)0, when), RollIfAppropriate);
|
||||
_session->request_locate (std::max ((samplepos_t)0, when));
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
@ -808,6 +808,6 @@ MiniTimeline::on_scroll_event (GdkEventScroll *ev)
|
|||
return true;
|
||||
break;
|
||||
}
|
||||
_session->request_locate (std::max ((samplepos_t)0, when), RollIfAppropriate);
|
||||
_session->request_locate (std::max ((samplepos_t)0, when));
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue