Save the playlist more

This commit is contained in:
David Sansome 2010-02-04 00:09:59 +00:00
parent 8eb42b5ab8
commit aa06377684

View File

@ -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<int>& rows) {
@ -542,4 +545,6 @@ void Playlist::Shuffle() {
}
layoutChanged();
Save();
}