mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-03 12:47:31 +01:00
Debug logging when saving a playlist.
This commit is contained in:
parent
d023b56cea
commit
27e1c16e8a
@ -29,6 +29,7 @@
|
||||
|
||||
#include "core/application.h"
|
||||
#include "core/database.h"
|
||||
#include "core/logging.h"
|
||||
#include "core/scopedtransaction.h"
|
||||
#include "core/song.h"
|
||||
#include "library/librarybackend.h"
|
||||
@ -287,6 +288,8 @@ void PlaylistBackend::SavePlaylist(int playlist, const PlaylistItemList& items,
|
||||
QMutexLocker l(db_->Mutex());
|
||||
QSqlDatabase db(db_->Connect());
|
||||
|
||||
qLog(Debug) << "Saving playlist" << playlist;
|
||||
|
||||
QSqlQuery clear("DELETE FROM playlist_items WHERE playlist = :playlist", db);
|
||||
QSqlQuery insert(
|
||||
"INSERT INTO playlist_items"
|
||||
|
Loading…
x
Reference in New Issue
Block a user