fixed selectionModel for uploads

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-07-24 23:28:20 +00:00
parent c3cc5c22ce
commit 4d8aa4dd72
2 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,7 @@ TransfersDialog::TransfersDialog(QWidget *parent)
//Selection Setup //Selection Setup
selection = ui.uploadsList->selectionModel(); selectionup = ui.uploadsList->selectionModel();
ui.uploadsList->setSelectionMode(QAbstractItemView::ExtendedSelection); ui.uploadsList->setSelectionMode(QAbstractItemView::ExtendedSelection);
/* Set header resize modes and initial section sizes Uploads TreeView*/ /* Set header resize modes and initial section sizes Uploads TreeView*/

View File

@ -86,6 +86,8 @@ class TransfersDialog : public MainPage
QStandardItemModel *DLListModel; QStandardItemModel *DLListModel;
QStandardItemModel *ULListModel; QStandardItemModel *ULListModel;
QItemSelectionModel *selection; QItemSelectionModel *selection;
QItemSelectionModel *selectionup;
DLListDelegate *DLDelegate; DLListDelegate *DLDelegate;
ULListDelegate *ULDelegate; ULListDelegate *ULDelegate;
qlonglong fileSize; qlonglong fileSize;