From 4d8aa4dd729659d4aef99272c8848933c449b023 Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 24 Jul 2009 23:28:20 +0000 Subject: [PATCH] fixed selectionModel for uploads git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1426 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/TransfersDialog.cpp | 2 +- retroshare-gui/src/gui/TransfersDialog.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/TransfersDialog.cpp b/retroshare-gui/src/gui/TransfersDialog.cpp index 44d6092a0..33128076d 100644 --- a/retroshare-gui/src/gui/TransfersDialog.cpp +++ b/retroshare-gui/src/gui/TransfersDialog.cpp @@ -132,7 +132,7 @@ TransfersDialog::TransfersDialog(QWidget *parent) //Selection Setup - selection = ui.uploadsList->selectionModel(); + selectionup = ui.uploadsList->selectionModel(); ui.uploadsList->setSelectionMode(QAbstractItemView::ExtendedSelection); /* Set header resize modes and initial section sizes Uploads TreeView*/ diff --git a/retroshare-gui/src/gui/TransfersDialog.h b/retroshare-gui/src/gui/TransfersDialog.h index 045ca4e96..fa3600acd 100644 --- a/retroshare-gui/src/gui/TransfersDialog.h +++ b/retroshare-gui/src/gui/TransfersDialog.h @@ -86,6 +86,8 @@ class TransfersDialog : public MainPage QStandardItemModel *DLListModel; QStandardItemModel *ULListModel; QItemSelectionModel *selection; + QItemSelectionModel *selectionup; + DLListDelegate *DLDelegate; ULListDelegate *ULDelegate; qlonglong fileSize;