<div class="gmail_quote">On Mon, Mar 8, 2010 at 10:28 AM, Srikanth Raju <span dir="ltr"><<a href="mailto:srikiraju@gmail.com">srikiraju@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Mar 8, 2010 at 2:47 PM, Jakob Leben <<a href="mailto:jakob.leben@gmail.com">jakob.leben@gmail.com</a>> wrote:<br>
><br>
><br>
> It is clear to me why not emitting statusChanged in  togglePlayPause(), but<br>
> why not in setInput()? Removing the signal only from togglePlayPause() fixes<br>
> the problem for me.<br>
><br>
<br>
</div>I get PLAYING_S -> OPENING_S -> PLAYING_S as status changes with the<br>
emit in setInput(). Removing the emit removes the first PLAYING_S.<br>
<br></blockquote><div><br>I applied your patch with some modifications in setInput() that ensure PLAYING_S does always get emitted (simply removing the emition of signal might miss the input status change to PLAYING_S if it happens before Qt callbacks are connected) .<br>
<br>Thanks!<br></div></div>