21 lines
1.4 KiB
Diff
21 lines
1.4 KiB
Diff
--- kio/kio/job.cpp 9 Nov 2004 00:50:35 -0000 1.397.2.5
|
|
+++ kio/kio/job.cpp 8 Dec 2004 01:08:15 -0000 1.397.2.8
|
|
@@ -3119,14 +3119,14 @@ void CopyJob::copyNextFile()
|
|
if ( f.open( IO_ReadWrite ) )
|
|
{
|
|
f.close();
|
|
KSimpleConfig config( path );
|
|
config.setDesktopGroup();
|
|
- config.writePathEntry( QString::fromLatin1("URL"), (*it).uSource.url() );
|
|
- KURL urlName = (*it).uSource;
|
|
- urlName.setPass( "" );
|
|
- config.writeEntry( QString::fromLatin1("Name"), urlName.url() );
|
|
+ KURL url = (*it).uSource;
|
|
+ url.setPass( "" );
|
|
+ config.writePathEntry( QString::fromLatin1("URL"), url.url() );
|
|
+ config.writeEntry( QString::fromLatin1("Name"), url.url() );
|
|
config.writeEntry( QString::fromLatin1("Type"), QString::fromLatin1("Link") );
|
|
QString protocol = (*it).uSource.protocol();
|
|
if ( protocol == QString::fromLatin1("ftp") )
|
|
config.writeEntry( QString::fromLatin1("Icon"), QString::fromLatin1("ftp") );
|
|
else if ( protocol == QString::fromLatin1("http") )
|