https://bugs.kde.org/show_bug.cgi?id=360707
--- Comment #11 from Jonathan Wakely <zi...@kayari.org> --- (In reply to Kevin Funk from comment #9) > Alright. I need to test this properly. Uses of AbstractType::indexed seem > like a can of worms, most of the callers don't check AbstractType*. Could it be solved with the NullObject pattern? i.e. make abstractType() always return a valid non-null pointer, returning a pointer to some global, empty/default/dumb object instead of null. That would mean that m_baseType->abstractType()->indexed() never dereferences null, and you don't need to fix every caller. -- You are receiving this mail because: You are watching all bug changes.