mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
Not just on X11
This commit is contained in:
parent
e7014caecb
commit
b0d1e3813b
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user