Appending an empty array of actions to QQmlListModel triggers an assert
in Qt when built in debug mode, see https://codereview.qt-project.org/#/c/223985/
for details.
Details
Details
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
applets/notifications/package/contents/ui/NotificationPopup.qml | ||
---|---|---|
61 | Add a comment indicating what's workarounding? |
Comment Actions
sorry it was my fault not commenting enough :P
I'd put the url to the bug or to the patch so that when future us want to check if this if still applies, we can do so by just checking if the patch is in the Qt version we depend on.
Comment Actions
Thanks so much for looking into that!
I don't think in general we should do workarounds for unreleased software, given the final version won't have the bug
but copying an empty array into a model is pretty pointless, so patch makes sense.