mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Emit a signal when PlaylistInterface's currentIndex has changed.
This commit is contained in:
parent
926c8ad16b
commit
5376435094
@ -219,5 +219,7 @@ void
|
||||
PlaylistInterface::setCurrentIndex( qint64 index )
|
||||
{
|
||||
m_currentIndex = index;
|
||||
|
||||
emit currentIndexChanged();
|
||||
onItemsChanged();
|
||||
}
|
||||
|
@ -100,6 +100,8 @@ signals:
|
||||
void previousTrackAvailable();
|
||||
void nextTrackAvailable();
|
||||
|
||||
void currentIndexChanged();
|
||||
|
||||
protected slots:
|
||||
virtual void onItemsChanged();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user