mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 09:49:42 +01:00
Fix CPU usage due to fader
This commit is contained in:
parent
c6b5ea0380
commit
41a3cea05e
@ -50,9 +50,7 @@ public:
|
||||
PixmapDelegateFader( const query_ptr& track, const QSize& size, TomahawkUtils::ImageMode mode = TomahawkUtils::Original, bool forceLoad = true );
|
||||
|
||||
virtual ~PixmapDelegateFader();
|
||||
|
||||
void setPixmap( const QPixmap& pixmap );
|
||||
|
||||
|
||||
QPixmap currentPixmap() const;
|
||||
|
||||
signals:
|
||||
@ -65,6 +63,8 @@ private slots:
|
||||
|
||||
void onAnimationStep( int );
|
||||
void onAnimationFinished();
|
||||
void setPixmap( const QPixmap& pixmap );
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user