From 82605afb5e63171a1decc1846521bade980e83e6 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 2 Jan 2014 14:08:41 +0100 Subject: [PATCH] What happens if we never scroll the ColumnViewPreviewWidget? --- src/libtomahawk/playlist/ColumnView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/ColumnView.cpp b/src/libtomahawk/playlist/ColumnView.cpp index 28a8fb3a6..d83eca7f3 100644 --- a/src/libtomahawk/playlist/ColumnView.cpp +++ b/src/libtomahawk/playlist/ColumnView.cpp @@ -486,7 +486,8 @@ ColumnView::fixScrollBars() if ( sb && sb->orientation() == Qt::Vertical ) { sb->setSingleStep( 6 ); - connect( sb, SIGNAL( valueChanged( int ) ), SLOT( onScrollBarChanged( int ) ), Qt::UniqueConnection ); + //FIXME: The preview widget should probably never scroll. Do we even need the following hack? + //connect( sb, SIGNAL( valueChanged( int ) ), SLOT( onScrollBarChanged( int ) ), Qt::UniqueConnection ); break; }