From 82e135167a5d24f600f006480b78a59511ae5cb3 Mon Sep 17 00:00:00 2001 From: Yoann Lopes Date: Thu, 8 Oct 2015 18:26:39 +0200 Subject: Change the way a playlist is bound to a media object. The previous behavior was to simply switch from the internal control to the service's control, discarding anything that was added to the playlist before binding. We now carry over the changes made to the playlist when switching controls. This means the switch is now transparent to the user. When the service's control is read-only, we cannot transfer the items, which means the user must be notified of the items that might have been "lost" during the switch. Auto-test modified to reflect this change. Change-Id: Ibf80b650b06425ddbaeb320b72ac5d3082a25960 Reviewed-by: Jim Hodapp Reviewed-by: Yoann Lopes --- tests/auto/unit/qmultimedia_common/mockreadonlyplaylistprovider.h | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/auto/unit/qmultimedia_common/mockreadonlyplaylistprovider.h') diff --git a/tests/auto/unit/qmultimedia_common/mockreadonlyplaylistprovider.h b/tests/auto/unit/qmultimedia_common/mockreadonlyplaylistprovider.h index 50747c1ad..39b1598b0 100644 --- a/tests/auto/unit/qmultimedia_common/mockreadonlyplaylistprovider.h +++ b/tests/auto/unit/qmultimedia_common/mockreadonlyplaylistprovider.h @@ -38,7 +38,6 @@ class MockReadOnlyPlaylistProvider : public QMediaPlaylistProvider { - Q_OBJECT public: MockReadOnlyPlaylistProvider(QObject *parent) :QMediaPlaylistProvider(parent) -- cgit v1.2.3