From 007d0ae0e31183594f8eced3cbed3bdada3a2e0a Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 10 Apr 2015 07:10:09 +0200 Subject: [PATCH] Don't lazily load additional query information in TrackView anymore. --- src/libtomahawk/playlist/TrackView.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libtomahawk/playlist/TrackView.cpp b/src/libtomahawk/playlist/TrackView.cpp index f416cabc9..e274a001a 100644 --- a/src/libtomahawk/playlist/TrackView.cpp +++ b/src/libtomahawk/playlist/TrackView.cpp @@ -88,9 +88,11 @@ TrackView::TrackView( QWidget* parent ) setContextMenuPolicy( Qt::CustomContextMenu ); m_timer.setInterval( SCROLL_TIMEOUT ); - connect( verticalScrollBar(), SIGNAL( rangeChanged( int, int ) ), SLOT( onViewChanged() ) ); - connect( verticalScrollBar(), SIGNAL( valueChanged( int ) ), SLOT( onViewChanged() ) ); - connect( &m_timer, SIGNAL( timeout() ), SLOT( onScrollTimeout() ) ); + + // enable those connects if you want to enable lazily loading extra information for visible items +// connect( verticalScrollBar(), SIGNAL( rangeChanged( int, int ) ), SLOT( onViewChanged() ) ); +// connect( verticalScrollBar(), SIGNAL( valueChanged( int ) ), SLOT( onViewChanged() ) ); +// connect( &m_timer, SIGNAL( timeout() ), SLOT( onScrollTimeout() ) ); connect( this, SIGNAL( doubleClicked( QModelIndex ) ), SLOT( onItemActivated( QModelIndex ) ) ); connect( this, SIGNAL( customContextMenuRequested( const QPoint& ) ), SLOT( onCustomContextMenu( const QPoint& ) ) );