[Interest] invalidated copies of QString in QCommonStyle::cachedOption

Mojmír Svoboda mojmir.svoboda at bistudio.com
Wed Jan 20 12:25:33 CET 2016


On 20.1.2016 11:38, Igor Mironchik wrote:
>
> Why are you deleting model?

i am trying to remove everything i can so that there are no references
to the underlying data (m_strings).

> Just implement clear() method and between
> beginResetModel(), endResetModel() delete your data. And I guess that
> this crash will not occur again.

not sure if it will help, can try. but the value is cached in 
QCommonStyle, not the model.

Mojmir



More information about the Interest mailing list