mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 12:20:45 +02:00
* PlayableItem::forceUpdate() forces a repaint by emitting dataChanged().
This commit is contained in:
@@ -52,6 +52,7 @@ public:
|
|||||||
void setPlaybackLog( const Tomahawk::PlaybackLog& log );
|
void setPlaybackLog( const Tomahawk::PlaybackLog& log );
|
||||||
|
|
||||||
PlayableItem* parent() const { return m_parent; }
|
PlayableItem* parent() const { return m_parent; }
|
||||||
|
void forceUpdate() { emit dataChanged(); }
|
||||||
|
|
||||||
bool isPlaying() const { return m_isPlaying; }
|
bool isPlaying() const { return m_isPlaying; }
|
||||||
void setIsPlaying( bool b ) { m_isPlaying = b; emit dataChanged(); }
|
void setIsPlaying( bool b ) { m_isPlaying = b; emit dataChanged(); }
|
||||||
|
Reference in New Issue
Block a user