mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -04:00
added Double click download feature
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1192 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
01bbd5ef03
commit
5728e61090
1 changed files with 6 additions and 4 deletions
|
@ -127,6 +127,8 @@ SearchDialog::SearchDialog(QWidget *parent)
|
||||||
connect ( ui.searchSummaryWidget, SIGNAL( currentItemChanged ( QTreeWidgetItem *, QTreeWidgetItem * ) ),
|
connect ( ui.searchSummaryWidget, SIGNAL( currentItemChanged ( QTreeWidgetItem *, QTreeWidgetItem * ) ),
|
||||||
this, SLOT( selectSearchResults( void ) ) );
|
this, SLOT( selectSearchResults( void ) ) );
|
||||||
|
|
||||||
|
connect( ui.searchResultWidget, SIGNAL( itemDoubleClicked ( QTreeWidgetItem *, int)), this, SLOT(download()));
|
||||||
|
|
||||||
|
|
||||||
/* hide the Tree +/- */
|
/* hide the Tree +/- */
|
||||||
ui.searchResultWidget -> setRootIsDecorated( false );
|
ui.searchResultWidget -> setRootIsDecorated( false );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue