Commit 047e0b21 authored by Ilkka Ollakka's avatar Ilkka Ollakka

call UpdateRate when rate changes, add myself to authors

parent d0a33a8c
...@@ -108,13 +108,11 @@ void PlaylistWidget::setArt( QString url ) ...@@ -108,13 +108,11 @@ void PlaylistWidget::setArt( QString url )
if( url.isNull() ) if( url.isNull() )
{ {
art->setPixmap( QPixmap( ":/noart.png" ) ); art->setPixmap( QPixmap( ":/noart.png" ) );
emit artSet( url );
} }
else if( prevArt != url ) else if( prevArt != url )
{ {
art->setPixmap( QPixmap( url ) ); art->setPixmap( QPixmap( url ) );
prevArt = url; prevArt = url;
emit artSet( url );
} }
} }
......
...@@ -59,7 +59,6 @@ private slots: ...@@ -59,7 +59,6 @@ private slots:
void setArt( QString ); void setArt( QString );
signals: signals:
void rootChanged( int ); void rootChanged( int );
void artSet( QString );
}; };
class ArtLabel : public QLabel class ArtLabel : public QLabel
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* $Id$ * $Id$
* *
* Authors: Clément Stenac <zorglub@videolan.org> * Authors: Clément Stenac <zorglub@videolan.org>
* Ilkka Ollakka <ileoo@videolan.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -226,7 +227,7 @@ void InputManager::customEvent( QEvent *event ) ...@@ -226,7 +227,7 @@ void InputManager::customEvent( QEvent *event )
} }
else if ( type == ItemRateChanged_Type ) else if ( type == ItemRateChanged_Type )
{ {
UpdatePosition(); UpdateRate();
} }
else if ( type == ItemTitleChanged_Type ) else if ( type == ItemTitleChanged_Type )
{ {
......
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