Skip to content

Commit 6d611bf

Browse files
committed
Don't lazily load additional query information in TrackView anymore.
1 parent 802a643 commit 6d611bf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/libtomahawk/playlist/TrackView.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@ TrackView::TrackView( QWidget* parent )
8787
setContextMenuPolicy( Qt::CustomContextMenu );
8888

8989
m_timer.setInterval( SCROLL_TIMEOUT );
90-
connect( verticalScrollBar(), SIGNAL( rangeChanged( int, int ) ), SLOT( onViewChanged() ) );
91-
connect( verticalScrollBar(), SIGNAL( valueChanged( int ) ), SLOT( onViewChanged() ) );
92-
connect( &m_timer, SIGNAL( timeout() ), SLOT( onScrollTimeout() ) );
90+
91+
// enable those connects if you want to enable lazily loading extra information for visible items
92+
// connect( verticalScrollBar(), SIGNAL( rangeChanged( int, int ) ), SLOT( onViewChanged() ) );
93+
// connect( verticalScrollBar(), SIGNAL( valueChanged( int ) ), SLOT( onViewChanged() ) );
94+
// connect( &m_timer, SIGNAL( timeout() ), SLOT( onScrollTimeout() ) );
9395

9496
connect( this, SIGNAL( doubleClicked( QModelIndex ) ), SLOT( onItemActivated( QModelIndex ) ) );
9597
connect( this, SIGNAL( customContextMenuRequested( const QPoint& ) ), SLOT( onCustomContextMenu( const QPoint& ) ) );

0 commit comments

Comments
 (0)