reset playlist to first track on stop
This commit is contained in:
parent
39a0356a51
commit
a483a380d6
2 changed files with 21 additions and 5 deletions
|
|
@ -62,9 +62,18 @@ public slots:
|
|||
void playPrevious();
|
||||
|
||||
private:
|
||||
void reset();
|
||||
void clearMediaList();
|
||||
/**
|
||||
* @brief Resets playlist to first track if playlist exists and is non-empty
|
||||
*/
|
||||
void resetPlaylistToFirstTrack();
|
||||
void clearPlaylist();
|
||||
void readMedia(const QString& path);
|
||||
/**
|
||||
* @brief Transforms time in milliseconds into a string
|
||||
* @param time Time in ms
|
||||
* @return
|
||||
* @todo use QDateTime
|
||||
*/
|
||||
QString timeToString(int time);
|
||||
|
||||
int mCurrentMediaItemLength = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue