From 047e0b2192c3c5a8aca30c8c719bfc1bde49031a Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Tue, 22 Jan 2008 05:26:59 +0000 Subject: [PATCH] call UpdateRate when rate changes, add myself to authors --- modules/gui/qt4/components/playlist/playlist.cpp | 2 -- modules/gui/qt4/components/playlist/playlist.hpp | 1 - modules/gui/qt4/input_manager.cpp | 3 ++- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/gui/qt4/components/playlist/playlist.cpp b/modules/gui/qt4/components/playlist/playlist.cpp index b76614f7ab..27aa3ec250 100644 --- a/modules/gui/qt4/components/playlist/playlist.cpp +++ b/modules/gui/qt4/components/playlist/playlist.cpp @@ -108,13 +108,11 @@ void PlaylistWidget::setArt( QString url ) if( url.isNull() ) { art->setPixmap( QPixmap( ":/noart.png" ) ); - emit artSet( url ); } else if( prevArt != url ) { art->setPixmap( QPixmap( url ) ); prevArt = url; - emit artSet( url ); } } diff --git a/modules/gui/qt4/components/playlist/playlist.hpp b/modules/gui/qt4/components/playlist/playlist.hpp index 022547d9da..782ecfd16c 100644 --- a/modules/gui/qt4/components/playlist/playlist.hpp +++ b/modules/gui/qt4/components/playlist/playlist.hpp @@ -59,7 +59,6 @@ private slots: void setArt( QString ); signals: void rootChanged( int ); - void artSet( QString ); }; class ArtLabel : public QLabel diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp index 4827a925ee..eeec9f6fac 100644 --- a/modules/gui/qt4/input_manager.cpp +++ b/modules/gui/qt4/input_manager.cpp @@ -5,6 +5,7 @@ * $Id$ * * Authors: Clément Stenac + * Ilkka Ollakka * * 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 @@ -226,7 +227,7 @@ void InputManager::customEvent( QEvent *event ) } else if ( type == ItemRateChanged_Type ) { - UpdatePosition(); + UpdateRate(); } else if ( type == ItemTitleChanged_Type ) { -- 2.39.2