Hi! Ralph Glasstetter wrote: > Am Montag, 22. Oktober 2007 17:25 schrieb Michael Riepe: > > >>Actually, you can pass the std::vector by value. Pointers have the >>disadvantage that they may be NULL. > > > And what about the regular NULL-pointer when reading from a MPEG-PS? > OK,... I guess when the returned vector is empty, nothing will happen and we > can skip the test for NULL... so we just have to make sure that instead as > default an empty vector<int> is returned from mpg::getbookmarks()!
Right. >>Maybe we can print a message to the status area at the bottom of the >>window instead (the one that also shows the "tooltips"). Should be as >>easy as >> >> statusBar()->message(QString("what was I going to say?")); >> >>And it's less disruptive than a modal dialog. > > > Yes, that would be enough,... we just need any response to show that > something > was going on and this function is not broken! But your suggested > statusBar()-call is not working... :-( Hmm... compile error or no effect? > So (just for the moment) I replaced it by a simple fprintf in the attached > patch file... ;-) Okay... we can try to fix that later. Welcome to r93. -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ DVBCUT-user mailing list DVBCUT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dvbcut-user