Uh...

I checked the strace log (thanks to David for providing it), and it's
the index file that can't be opened. With a name like
"stargate.2008-02-28.23://./31:02.mpg.idx" one probably had to expect
that. ;-)

After a little digging I found out that it's the file dialog that causes
problems. It treats the starting directory as an URL, and the stupid
parser thinks that everything up to the first colon is an access method.

That alone would have been easy to fix by prepending "file:" to the
filename passed to QFileDialog::getSaveFileName(), but there's another
Qt "feature" that prevents the dialog from entering the right directory
and selecting the file: the filename portion of the path is treated as
an URL *again*, but this time it's done inside QFileDialog which we
can't change. Therefore, I had to work around the stupidity of the
Qtrolls. I hope this doesn't break the Windows port...

Apropos: my "A:B.mpg" test worked fine because Qt thought the "A" were a
drive letter. Yeah, it's that dumb. How was that ancient Chinese curse
again? "May you live in interesting times!"

Anyway, welcome to r118 (there also was r117 but it only added some
beauty patches that were not worth mentioning ;-).

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to