Fix signal emission for Locations::ripple (1/2)
Locations::ripple can never add/remove markers, hence Locations::changed is not applicable. That signal is to indicate when more than one location is added or removed from the location list.
This commit is contained in:
parent
fe3827b1d8
commit
0f3e3b5243
@ -277,7 +277,7 @@ public:
|
|||||||
|
|
||||||
void cut_copy_section (timepos_t const& start, timepos_t const& end, timepos_t const& to, SectionOperation const op);
|
void cut_copy_section (timepos_t const& start, timepos_t const& end, timepos_t const& to, SectionOperation const op);
|
||||||
|
|
||||||
void ripple (timepos_t const & at, timecnt_t const & distance, bool include_locked, bool notify);
|
void ripple (timepos_t const & at, timecnt_t const & distance, bool include_locked);
|
||||||
|
|
||||||
XMLNode& get_state () const;
|
XMLNode& get_state () const;
|
||||||
int set_state (const XMLNode&, int version);
|
int set_state (const XMLNode&, int version);
|
||||||
|
@ -1807,7 +1807,7 @@ Locations::range_starts_at (timepos_t const & pos, timecnt_t const & slop, bool
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Locations::ripple (timepos_t const & at, timecnt_t const & distance, bool include_locked, bool notify)
|
Locations::ripple (timepos_t const & at, timecnt_t const & distance, bool include_locked)
|
||||||
{
|
{
|
||||||
LocationList copy;
|
LocationList copy;
|
||||||
|
|
||||||
@ -1846,10 +1846,6 @@ Locations::ripple (timepos_t const & at, timecnt_t const & distance, bool includ
|
|||||||
(*i)->lock();
|
(*i)->lock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (notify) {
|
|
||||||
changed(); /* EMIT SIGNAL */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user