mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Scroll per pixel on osx since that's how other apps do it, feels more natural with a trackpad
This commit is contained in:
@@ -92,6 +92,10 @@ SourceTreeView::SourceTreeView( QWidget* parent )
|
||||
setSortingEnabled( true );
|
||||
sortByColumn( 0, Qt::AscendingOrder );
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
setVerticalScrollMode( QTreeView::ScrollPerPixel );
|
||||
#endif
|
||||
|
||||
// TODO animation conflicts with the expanding-playlists-when-collection-is-null
|
||||
// so investigate
|
||||
// setAnimated( true );
|
||||
|
Reference in New Issue
Block a user