From aa06377684bd64a8f675ce245b16f9751e0636b7 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Thu, 4 Feb 2010 00:09:59 +0000 Subject: [PATCH] Save the playlist more --- src/playlist.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/playlist.cpp b/src/playlist.cpp index 51f376a68..62fe1c3f8 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -204,6 +204,7 @@ bool Playlist::dropMimeData(const QMimeData* data, Qt::DropAction action, int ro } layoutChanged(); + Save(); } else if (data->hasUrls()) { // URL list dragged from the file list or some other app @@ -515,6 +516,8 @@ void Playlist::Clear() { qDeleteAll(items_); items_.clear(); reset(); + + Save(); } void Playlist::ReloadItems(const QList& rows) { @@ -542,4 +545,6 @@ void Playlist::Shuffle() { } layoutChanged(); + + Save(); }