mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +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 );
|
setSortingEnabled( true );
|
||||||
sortByColumn( 0, Qt::AscendingOrder );
|
sortByColumn( 0, Qt::AscendingOrder );
|
||||||
|
|
||||||
|
#ifdef Q_OS_MAC
|
||||||
|
setVerticalScrollMode( QTreeView::ScrollPerPixel );
|
||||||
|
#endif
|
||||||
|
|
||||||
// TODO animation conflicts with the expanding-playlists-when-collection-is-null
|
// TODO animation conflicts with the expanding-playlists-when-collection-is-null
|
||||||
// so investigate
|
// so investigate
|
||||||
// setAnimated( true );
|
// setAnimated( true );
|
||||||
|
Reference in New Issue
Block a user