mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Not just on X11
This commit is contained in:
@@ -30,9 +30,7 @@ AccountListView::wheelEvent( QWheelEvent* e )
|
||||
{
|
||||
//HACK: Workaround for QTBUG-7232: Smooth scrolling (scroll per pixel) in ItemViews
|
||||
// does not work as expected.
|
||||
#ifdef Q_WS_X11
|
||||
verticalScrollBar()->setSingleStep( ACCOUNT_DELEGATE_ROW_HEIGHT_MULTIPLIER * fontMetrics().height() / 8 );
|
||||
// ^ scroll step is 1/8 of the estimated row height
|
||||
#endif
|
||||
QListView::wheelEvent( e );
|
||||
}
|
||||
|
Reference in New Issue
Block a user