Hi!

Ralph Glasstetter wrote:

> linslider->setMaxValue(pictures-1);
> in dvbcut::open uses the local "pictures" which is returned from 
> load/generateindex, which in fact is realpictures from index::check().

It might also be the effect of sequence numbers and index::indexnr().

> But when I used pictures in dvbcut::exportFile() it seems that I used 
> (implicitely) the global index::pictures, right?

No, class dvbcut has its own member `pictures'. And as far as I
understand the code, it's the same one in both cases?!

> It's not very nice to use the same name for two different things... :-(

It's the OOP way, baby. And it sucks.

> So in exportFile realpictures should be used for the stop picture?
> And what about the offset index::skipfirst... neither realpictures does 
> include this pictures nor does the index, so it's ok when we start at 0? 
> 
> I'm a little bit confiused... ;-)

Me too.

-- 
Michael "Tired" Riepe <[EMAIL PROTECTED]>
X-Tired: Each morning I get up I die a little

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to