Skip to content
Commit 59a352e1 authored by David Edmundson's avatar David Edmundson
Browse files

Fix potential crash removing cursorthemes

m_themeModel->removeTheme(idx) will adjust the model.

Therefore any model indexes we had stored will be invalidated.
If we try and remove 2 cursor themes this can end up either crashing or
even worse potentially removing the wrong theme.

BUG: 439030
parent 18fbdde4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment