D24785: Store stashed model index as QPersistentModelIndex

David Edmundson noreply at phabricator.kde.org
Sat Oct 19 16:55:26 BST 2019


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  Otherwise we can crash if the model updates during load.

TEST PLAN
  Had a state where my manually saved session would crash systemsettings on load 
  accessing a null kservice object from a menuItem
  
  With this patch that session no longer crashes

REPOSITORY
  R124 System Settings

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24785

AFFECTED FILES
  sidebar/ToolTips/tooltipmanager.cpp

To: davidedmundson, #plasma
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/20191019/c7dc3114/attachment.html>


More information about the Plasma-devel mailing list