Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 72804 | Differences between
and this patch

Collapse All | Expand All

(-)job.cpp (-4 / +4 lines)
Lines 3119-3132 void CopyJob::copyNextFile() Link Here
3119
                       if ( f.open( IO_ReadWrite ) )
3119
                       if ( f.open( IO_ReadWrite ) )
3120
                       {
3120
                       {
3121
                           f.close();
3121
                           f.close();
3122
                           KSimpleConfig config( path );
3122
                           KSimpleConfig config( path );
3123
                           config.setDesktopGroup();
3123
                           config.setDesktopGroup();
3124
                           config.writePathEntry( QString::fromLatin1("URL"), (*it).uSource.url() );
3124
                           KURL url = (*it).uSource;
3125
                           KURL urlName = (*it).uSource;
3125
                           url.setPass( "" );
3126
                           urlName.setPass( "" );
3126
                           config.writePathEntry( QString::fromLatin1("URL"), url.url() );
3127
                           config.writeEntry( QString::fromLatin1("Name"), urlName.url() );
3127
                           config.writeEntry( QString::fromLatin1("Name"), url.url() );
3128
                           config.writeEntry( QString::fromLatin1("Type"), QString::fromLatin1("Link") );
3128
                           config.writeEntry( QString::fromLatin1("Type"), QString::fromLatin1("Link") );
3129
                           QString protocol = (*it).uSource.protocol();
3129
                           QString protocol = (*it).uSource.protocol();
3130
                           if ( protocol == QString::fromLatin1("ftp") )
3130
                           if ( protocol == QString::fromLatin1("ftp") )
3131
                               config.writeEntry( QString::fromLatin1("Icon"), QString::fromLatin1("ftp") );
3131
                               config.writeEntry( QString::fromLatin1("Icon"), QString::fromLatin1("ftp") );
3132
                           else if ( protocol == QString::fromLatin1("http") )
3132
                           else if ( protocol == QString::fromLatin1("http") )

Return to bug 72804