On Sat, Nov 18, 2006 at 02:33:20PM +0100, Peter Kümmel wrote: > Andre Poenitz wrote: > > On Fri, Nov 17, 2006 at 08:37:14PM +0100, Peter Kümmel wrote: > >> Andre Poenitz wrote: > >>> On Tue, Nov 14, 2006 at 01:08:56AM +0100, Peter Kümmel wrote: > >>>> Here a totally superfluously patch: > >>> Erm. > >>> > >>>> +void Splash::finish(int secs) > >>>> +{ > >>>> + if (qsp == 0) > >>>> + return; > >>>> + QTime t = QTime::currentTime().addSecs(secs); > >>>> + while (t > QTime::currentTime()) > >>>> + { > >>>> + } > >>>> + delete qsp; > >>>> +} > >>> A busy loop? > >> Who cares? > > > > I do. > > > > Especially since QSplashScreen gives you all you need to setup a decent > > splshscreen - provided that's something that's really needed. > > > >>> Are you aware of QSplashScreen? > >> Have a look at the patch again. > > > > Why do you need to wrap it then. > > Because I wanna start it in non-frontend code.
Don't we call a frontend specific init function pretty early anyway? Why not start the frontend-specific splash from there? Andre'