From a42fcde7ff82ba3f037d9bc06cd992e6aac163ae Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sun, 6 Feb 2011 22:32:15 -0500 Subject: [PATCH] fix logic that broke expanding the steering --- src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp b/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp index 1c6f32182..64f27207c 100644 --- a/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp +++ b/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp @@ -156,7 +156,7 @@ EchonestSteerer::changed() emit steerDescription( steer ); } - if( !m_layout->indexOf( m_description ) > 0 ) { + if( m_layout->indexOf( m_description ) == -1 ) { // animate to expand m_layout->insertWidget( m_layout->count() - 1, m_description, 1 ); m_layout->setStretchFactor( m_textL, 0 );