diff options
Diffstat (limited to 'app/MediaPlayer.qml')
-rw-r--r-- | app/MediaPlayer.qml | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 95af8c0..71bda77 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -54,21 +54,6 @@ ApplicationWindow { Connections { target: dbus - onStopPlayback: { - player.stop() - playlist.clear() - playlistmodel.setSource(playlist) - playlistview.visible = false - } - - onProcessPlaylistUpdate: { - playlist.clear() - playlist.addItems(mediaFiles) - - playlistmodel.setSource(playlist) - playlistview.visible = bluetooth.connected == false - } - onProcessPlaylistHide: { playlistview.visible = false player.stop() @@ -126,10 +111,6 @@ ApplicationWindow { Playlist { id: playlist playbackMode: random.checked ? Playlist.Random : loop.checked ? Playlist.Loop : Playlist.Sequential - - Component.onCompleted: { - playlist.addItems(mediaFiles) - } } |