Skip to content

Fix #4188 - Check for failed std::find - #5137

Merged
Reflexe merged 1 commit into
LMMS:masterfrom
Veratil:mark-octaves-fix
Sep 14, 2019
Merged

Reflexe merged 1 commit into
LMMS:masterfrom
Veratil:mark-octaves-fix

Conversation

@Veratil

@Veratil Veratil commented Aug 21, 2019

Copy link
Copy Markdown
Contributor

I noticed this crashed on stable-1.2 and then in master.

Crash happens when trying to erase a note that doesn't exist in m_markedSemiTones when selecting "Mark/unmark all corresponding octave semitones", so the solution is just to check for a failed std::find.

@Reflexe

Reflexe commented Aug 23, 2019

Copy link
Copy Markdown
Member

@PhysSong I'm not sure, Do we have to target it for stable and sync it later to master? Or just do it manually now?

@Reflexe Reflexe self-assigned this Aug 23, 2019
@PhysSong

Copy link
Copy Markdown
Member

@Reflexe Since #4188 is in the 1.2.1 milestone, the commit should somehow go to stable-1.2. The specific method doesn't matter too much, but I think it'd be better to merge into stable-1.2 first.
This should be tested before we merge this, of course.

@Reflexe Reflexe added the needs testing This pull request needs more testing label Aug 23, 2019
@Reflexe Reflexe added this to the 1.2.1 milestone Sep 14, 2019
@Reflexe
Reflexe changed the base branch from master to stable-1.2 September 14, 2019 16:59
@Reflexe
Reflexe changed the base branch from stable-1.2 to master September 14, 2019 16:59
@Reflexe Reflexe modified the milestones: 1.2.1, 1.3.0 Sep 14, 2019
@Reflexe

Reflexe commented Sep 14, 2019

Copy link
Copy Markdown
Member

Since we've changed qFind to std::find between stable-2 and master, I;ve created another pr for stable: #5184

@Reflexe
Reflexe merged commit 8fdf6c4 into LMMS:master Sep 14, 2019
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
@rubiefawn rubiefawn removed the needs testing This pull request needs more testing label May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants