[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] QSocket.setSocket problem resolved
From: Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date: 2001-11-30 14:24:21
[Download RAW message or body]
Michael Ferraro wrote:
>
> Sorry
>
> It seems that the QSocket object needs a parent -- don't we all :}
I think the actual problem was that you weren't keeping a reference to
the Python object around. Giving it a parent solves the problem - or
saving the object in something that doesn't go out of scope at the end
of the function would also work.
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic