mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
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
This commit is contained in:
parent
3339e6ee0a
commit
f080fb22a0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user