[haiku-commits] Re: r34120 - haiku/trunk/src/apps/mediaplayer

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 19 Nov 2009 09:38:45 +0100

On 2009-11-19 at 07:59:16 [+0100], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> superstippi@xxxxxx wrote:
> > +    // Now tell the application roster, that we're interested
> > +    // in getting notifications of apps being launched or quit.
> 
> Just out of curiosity: what changes by moving this into the constructor?

When launching MediaPlayer to open a file, RefsReceived is called earlier 
than ReadyToRun(), so the first window is created before we check on the 
media_server and offer to start it.

Best regards,
-Stephan

Other related posts: