mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Merge pull request #1109 from csoler/v0.6-Links2
use "download..." menu with RsCollectionDialog with multiple files an…
This commit is contained in:
commit
7304c48a4a
@ -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