1
0
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:
Leo Franchi
2011-07-28 16:18:19 -04:00
parent b7649a3281
commit 9120f6436c

View File

@@ -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 );