add dropdown annimation to library & internet tree view

This commit is contained in:
narunlifescience 2015-11-24 19:35:07 -06:00
parent f03d5356c3
commit 8020749375
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ InternetView::InternetView(QWidget* parent) : AutoExpandingTreeView(parent) {
SetExpandOnReset(false);
setAttribute(Qt::WA_MacShowFocusRect, false);
setSelectionMode(QAbstractItemView::ExtendedSelection);
setAnimated(true);
}
void InternetView::contextMenuEvent(QContextMenuEvent* e) {

View File

@ -185,6 +185,7 @@ LibraryView::LibraryView(QWidget* parent)
setSelectionMode(QAbstractItemView::ExtendedSelection);
setStyleSheet("QTreeView::item{padding-top:1px;}");
setAnimated(true);
}
LibraryView::~LibraryView() {}