[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#477112: libqt4: QTreeView dumps core



On Mon, 2008-04-21 at 03:03 +0200, Sune Vuorela wrote:
> 
> 
> Hi!
> 
> THanks for your report. It would be nice if you had a minimal test
> case we 
> could use to reproduce the problem (and forward upstream)
> 

Unfortunately this area of my app code is fairly convoluted
and not a great test case.  However, the recipe to reproduce
it would be something like:

- create a qtreewidget
- create a hierarchy of qtreewidgetitem entries
- in the constructor for one of the leaf qtreewidgetitem's,
add this code snippet:
        QFont font = QTreeWidgetItem::font(0);
        font.setItalic(true);
        setFont(0, font);
- run the app, display the tree view, navigate down to the
italicised leaf
- when clicking on the parent of this item, sigsegv should
occur.

HTH.

cheers.

-- 
Nathan




Reply to: