[Qt-interest] glibc detected 'corrupted double-linked list' duetoa static QCursor member variable in installed eventHandler?

Frank Hemer frank at hemer.org
Mon May 25 15:58:17 CEST 2009


On Monday 25 May 2009 14:38:40 Tony Rietwyk wrote:
> Frank wrote:
> > Well, this is implemented according to the qt doc, see here:
> > http://doc.qtsoftware.com/4.4/qobject.html#eventFilter
> >
> > I'm handling events on a QTableView - which is one of the
> > widgets in MyClass.
>
> According to my reading of that document, you need:
>
> MyClass::MyClass () {
> 	...
> 	myTable->installEventFilter (this)
> 	...
> }

Ooops - my fault - thats how it should read and how its actually coded.

Frank



More information about the Qt-interest-old mailing list