WStandardItemModel::insertColumn states that it

"Inserts a single column of|items|at column|column|. If necessary, the row count is increased"

However, the row count is not properly increased. The increase in the row count does not involve a call to beginInsertRows( ) and thus does not properly initialize the header data.
This is realized when the model is cleared or destroyed as

334                 headerData.erase(headerData.begin() + index,
335                 headerData.begin() + index + count);

in WStandardItemModel.C results in segfault ( headerData.size() < count ).

This may also affect WStandardItemModel::insertRow

Regards,
Thomas Suckow
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to