Bug 67581

Summary: Does not acccept non-local files
Product: [Applications] k3b Reporter: John Tapsell <john.tapsell>
Component: generalAssignee: Sebastian Trueg <trueg>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***