Bug 67581 - Does not acccept non-local files
Summary: Does not acccept non-local files
Status: RESOLVED DUPLICATE of bug 66665
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 15:00 UTC by John Tapsell
Modified: 2004-11-30 17:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Tapsell 2003-11-08 15:00:13 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

In:

kdeextragear-1/k3b/src/k3b.cpp, line 1193 -- QStringList urls = KFileDialog::getOpenFileNames( ".", "*|All Files", this, i18n("Select Files to Add to Project") );


This should be: 
KURL::List fileNames = KFileDialog::getOpenURLs(".", "*|All Files", this, i18n("Select Files to Add to Project"));

And before the burning, do something along the lines of:

 QString tmpFile;
 if( KIO::NetAccess::download( filenameiterator, tmpFile ) )
 {
  //Add file to list of files to burn
   loadFile( tmpFile );
 }

//after burning
   KIO::NetAccess::removeTempFile( tmpFile );
Comment 1 Jens 2004-08-27 11:06:58 UTC
Has this been implemented yet? Or is this bug still valid?

I think it's a bit misleading for new users that you cannot expect the same network transparency within K3B that all other KDE apps offer. And the fix above really seems quite simple.

Thanks!
Comment 2 Stephan Binner 2004-11-30 17:03:12 UTC

*** This bug has been marked as a duplicate of 66665 ***