Commit 85b39d9d authored by Tobias Güntner's avatar Tobias Güntner Committed by Jean-Baptiste Kempf

Qt4: Test the correct text.

Signed-off-by: default avatarLudovic Fauvet <etix@videolan.org>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a16514d9
......@@ -109,7 +109,8 @@ void TimeTooltip::buildPath()
void TimeTooltip::setText( const QString& time, const QString& text )
{
mDisplayedText = time;
if ( !mText.isEmpty() ) mDisplayedText.append( " - " + text );
if ( !text.isEmpty() )
mDisplayedText.append( " - " ).append( text );
if ( time.length() != mTime.length() || mText != text )
buildPath();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment