Diffusion Krita 54b49fca970f

Replace QModelIndex::internalPointer with QModelIndex::data

Authored by rempt on Mar 12 2019, 8:44 AM.

Description

Replace QModelIndex::internalPointer with QModelIndex::data

We no longer add a resource object to the internal pointer of the
model index, so accessing it will give crashes. There is still a
chunk left of this problem in KisPaletteModel -- that needs more
thought.

Details

Committed
remptMar 12 2019, 8:44 AM
Parents
R37:253bbff1f81e: Fix crash on closing Krita
Branches
Unknown
Tags
Unknown