mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-24 16:51:59 +01:00
Merge pull request #5130 from narunlifescience/master
add dropdown animation to library & internet tree view
This commit is contained in:
commit
bcaa9e4a37
@ -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) {
|
||||
|
@ -185,6 +185,7 @@ LibraryView::LibraryView(QWidget* parent)
|
||||
setSelectionMode(QAbstractItemView::ExtendedSelection);
|
||||
|
||||
setStyleSheet("QTreeView::item{padding-top:1px;}");
|
||||
setAnimated(true);
|
||||
}
|
||||
|
||||
LibraryView::~LibraryView() {}
|
||||
|
Loading…
Reference in New Issue
Block a user