From f080fb22a04ff45dbc21ec55ee2ce16bd4f64b86 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Wed, 15 Sep 2010 19:26:25 +0000 Subject: [PATCH] Enabled autoscroll of the upload and download treeview in TransferDialog, so that the a cursor move scrolls the treeview. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3501 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/TransfersDialog.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/TransfersDialog.cpp b/retroshare-gui/src/gui/TransfersDialog.cpp index 87cb88e91..9be2199ad 100644 --- a/retroshare-gui/src/gui/TransfersDialog.cpp +++ b/retroshare-gui/src/gui/TransfersDialog.cpp @@ -100,7 +100,9 @@ TransfersDialog::TransfersDialog(QWidget *parent) DLDelegate = new DLListDelegate(); ui.downloadList->setItemDelegate(DLDelegate); - ui.downloadList->setAutoScroll(false) ; +// Why disable autoscroll ? +// With disabled autoscroll, the treeview doesn't scroll with cursor move +// ui.downloadList->setAutoScroll(false) ; // workaround for Qt bug, should be solved in next Qt release 4.7.0 // http://bugreports.qt.nokia.com/browse/QTBUG-8270 @@ -159,7 +161,9 @@ TransfersDialog::TransfersDialog(QWidget *parent) ULDelegate = new ULListDelegate(); ui.uploadsList->setItemDelegate(ULDelegate); - ui.uploadsList->setAutoScroll(false) ; +// Why disable autoscroll ? +// With disabled autoscroll, the treeview doesn't scroll with cursor move +// ui.uploadsList->setAutoScroll(false) ; ui.uploadsList->setRootIsDecorated(false);