From b0d1e3813bc880bf3601bae634d98cfb02a2ca91 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 17 Jan 2013 11:48:36 +0100 Subject: [PATCH] Not just on X11 --- src/widgets/AccountListView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/widgets/AccountListView.cpp b/src/widgets/AccountListView.cpp index f60659290..b3a3e38c1 100644 --- a/src/widgets/AccountListView.cpp +++ b/src/widgets/AccountListView.cpp @@ -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 ); }