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