[PyKDE] more and more signal from on connect...(on QProcess)

Matt Newell newellm at blur.com
Tue Mar 6 07:47:24 GMT 2007


On Monday 05 March 2007 23:42, Marco wrote:
> Hi, I want to write a MPlayer GUI frontend.
>
> Now, I meet a bug, when:
> click "play", a movie showing, click "stop", the movie stop and print
> ONE message
>
> click "play", the movie show again, click "stop", the movie stop and
> print TWO messages
>
> click "play", the movie show again, click "stop", the movie stop and
> print THREE messages
>
You are connecting multiple times.  Move your connect calls to the __init__ 
method(after you create the proc of course).

Matt




More information about the PyQt mailing list