styled progress bar; moved to correct position
still todo: show time and lenght as formatted number refactor MusicPlayer.qml into components
This commit is contained in:
parent
b013b69e8d
commit
0b84a6e6b6
2 changed files with 88 additions and 84 deletions
|
|
@ -62,13 +62,16 @@ void MusicModel::stopMusic()
|
|||
{
|
||||
if(mIsPlaying){
|
||||
mIsPlaying = false;
|
||||
emit isPlayingChanged();
|
||||
|
||||
mHasNext = false;
|
||||
mHasPrevious = false;
|
||||
mCurrentMediaItemProgress = 0.0;
|
||||
emit progressChanged();
|
||||
emit hasNextChanged();
|
||||
emit hasPreviousChanged();
|
||||
emit isPlayingChanged();
|
||||
|
||||
mCurrentMediaItemProgress = 0.0;
|
||||
emit progressChanged();
|
||||
|
||||
emit stop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue