[PyQt] Small fix

Phil Thompson phil at riverbankcomputing.com
Fri May 21 09:55:30 BST 2010


On Thu, 20 May 2010 23:52:16 -0300, Julio César Gázquez
<jcglists at igneosoluciones.com.ar> wrote:
> Hello.
> 
> This is a small patch fixing setItemDelegateForColumn and 
> setItemDelegateForColumn.
> 
> I can't test it (my build is broken, I got a "QWidget: Must construct a 
> QApplication before a QPaintDevice"), but this patch makes those
currently 
> broken functions like the similar, but working setItemDelegate.
> 
> As a workaround, keeping around a reference of a delegate (so the C++
> object 
> isn't destroyed along the Python one) the functions work as intended.
> 
> Best regards.

Thanks - it will be in tonight's snapshot.

Phil


More information about the PyQt mailing list