From 8463064315a806652154f871d18710d3ac6d07b2 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 10 Apr 2015 03:52:38 +0200 Subject: [PATCH] Apply scrolling fix for GridViews on OS X, too. --- src/libtomahawk/playlist/GridView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libtomahawk/playlist/GridView.cpp b/src/libtomahawk/playlist/GridView.cpp index 579d87ad8..78f233131 100644 --- a/src/libtomahawk/playlist/GridView.cpp +++ b/src/libtomahawk/playlist/GridView.cpp @@ -249,12 +249,10 @@ GridView::resizeEvent( QResizeEvent* event ) void GridView::wheelEvent( QWheelEvent* e ) { -#ifndef Q_OS_MAC //HACK: Workaround for QTBUG-7232: Smooth scrolling (scroll per pixel) in ItemViews // does not work as expected. verticalScrollBar()->setSingleStep( delegate()->itemSize().height() / 8 ); // ^ scroll step is 1/8 of the estimated row height -#endif QListView::wheelEvent( e ); }