This Patch fixes https://bugs.kde.org/show_bug.cgi?id=396347 .
Previously "nodesRemoved" included the begin&end notification for removing rows, without removing any in between.
The patch changes the logic to correctly announce the begin before removing rows and the end after the rows have been removed.
Details
Details
- build Qt 5.11.1 with debug&assert enabled
- recompile kdevelop against this version of Qt
- start kdevelop
- open the Classes Toolview
- close kdevelop
-> crash/assert
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Good find, the previous code (remove item -> call beginRemoveRows() -> call endRemoveRows()) definitely looks wrong. Can you submit this yourself?
Otherwise, I'd need an email address to set as the commit author.
Thanks!
Comment Actions
Submitted with f30ef7c6f1376 to 5.2, sorry, I forgot to set the diff in the commit message.