From f6ab3e600738a40b24f63aab2f14f566f80f75b2 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Sun, 9 Nov 2014 14:41:12 +0100 Subject: [PATCH] Style SourceTreeView scrollbar --- src/tomahawk/sourcetree/SourceTreeView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tomahawk/sourcetree/SourceTreeView.cpp b/src/tomahawk/sourcetree/SourceTreeView.cpp index c99d46bc8..86c93a601 100644 --- a/src/tomahawk/sourcetree/SourceTreeView.cpp +++ b/src/tomahawk/sourcetree/SourceTreeView.cpp @@ -41,6 +41,7 @@ #include "utils/Closure.h" #include "utils/Logger.h" #include "utils/ShortLinkHelper.h" +#include "utils/TomahawkStyle.h" #include "utils/TomahawkUtilsGui.h" #include "widgets/SourceTreePopupDialog.h" #include "PlaylistEntry.h" @@ -105,6 +106,8 @@ SourceTreeView::SourceTreeView( QWidget* parent ) setEditTriggers( NoEditTriggers ); setAutoExpandDelay( 500 ); + TomahawkStyle::styleScrollBar( verticalScrollBar() ); + // TODO animation conflicts with the expanding-playlists-when-collection-is-null // so investigate // setAnimated( true );