mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
use "download..." menu with RsCollectionDialog with multiple files and directories
This commit is contained in:
parent
5997c10495
commit
1669cd48c8
@ -509,7 +509,9 @@ void RemoteSharedFilesDialog::spawnCustomPopupMenu( QPoint point )
|
||||
collectionMenu.addAction(collCreateAct);
|
||||
collectionMenu.addAction(collOpenAct);
|
||||
|
||||
if(type == DIR_TYPE_DIR)
|
||||
QModelIndexList list = ui.dirTreeView->selectionModel()->selectedRows() ;
|
||||
|
||||
if(type == DIR_TYPE_DIR || list.size() > 1)
|
||||
{
|
||||
QAction *downloadActI = new QAction(QIcon(IMAGE_DOWNLOAD), tr( "Download..." ), &contextMnu ) ;
|
||||
connect( downloadActI , SIGNAL( triggered() ), this, SLOT( downloadRemoteSelectedInteractive() ) ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user