Version: (using KDE KDE 3.5.2) Installed from: Gentoo Packages It would be great if multiple files could be selected in the DCC file transfer dialog.
SVN commit 542057 by shin: now multiple files can be selected in the DCC SEND file select dialog BUG: 127023 M +7 -6 server.cpp --- trunk/extragear/network/konversation/src/server.cpp #542056:542057 @@ -1791,16 +1791,17 @@ // do we have a recipient *now*? if(!recipient.isEmpty()) { - KURL fileURL=KFileDialog::getOpenURL( + KURL::List fileURLs=KFileDialog::getOpenURLs( lastDccDir, QString::null, getMainWindow(), - i18n("Select File to Send to %1").arg(recipient) - ); - if(!fileURL.isEmpty()) + i18n("Select File(s) to Send to %1").arg(recipient) + ); + KURL::List::iterator it; + for ( it = fileURLs.begin() ; it != fileURLs.end() ; ++it ) { - lastDccDir=fileURL.directory(); - addDccSend(recipient,fileURL); + lastDccDir = (*it).directory(); + addDccSend( recipient, *it ); } } }