D24735: Gracefully replace outputModel
Kai Uwe Broulik
noreply at phabricator.kde.org
Thu Oct 17 15:15:19 BST 2019
broulik added a comment.
> But just destroying and recreating is much simpler. ;)
And causes crashes by leaving things on the QML side in an inconsistent state.
Not sure `deleteLater` will help you since `GetConfigOperation()` could take longer than that. We could perhaps delete the old model when the config operation finishes, but that might get ugly. I'll give it a shot.
REPOSITORY
R104 KScreen
REVISION DETAIL
https://phabricator.kde.org/D24735
To: broulik, #plasma, romangg, davidedmundson
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191017/6e184aa3/attachment-0001.html>
More information about the Plasma-devel
mailing list