summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorLoïc Molinari <loic.molinari@canonical.com>2015-08-10 13:38:47 +0200
committerYoann Lopes <yoann.lopes@theqtcompany.com>2015-08-10 12:13:21 +0000
commit6684b4b23b2fd8a1fc4ae4f9b2f8bd90cd1e5846 (patch)
tree84f4c6b8a1f948053f78f5124a5e00009c57dadc /src/imports
parent475a14ccc39aad0f73b039990412b00f52e0c81e (diff)
Emit mediaAboutToBeRemoved() before mediaRemoved() in QMediaPlaylist.
When a new playlist's mediaObject is set, the content is cleared and the mediaRemoved() signal is emitted without a former mediaAboutToBeRemoved(). This is an issue for QAbstractItemModel implementations, like the coming QDeclarativePlaylist, which call beginInsertRow() and endInsertRows() in the respective signal handlers. Change-Id: I7ec512ff2736e92858df94d9479741e05162e1f0 Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/imports')
0 files changed, 0 insertions, 0 deletions