1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Log a warning when failing to save tags to a local file.

This commit is contained in:
Mateusz Kowalczyk 2012-11-10 18:27:49 +11:00 committed by David Sansome
parent b1d513c487
commit 6a8f41f0bb

View File

@ -245,7 +245,9 @@ void TrackSelectionDialog::SaveData(const QList<Data>& data) {
copy.set_track(new_metadata.track()); copy.set_track(new_metadata.track());
copy.set_year(new_metadata.year()); copy.set_year(new_metadata.year());
TagReaderClient::Instance()->SaveFileBlocking(copy.url().toLocalFile(), copy); if (!TagReaderClient::Instance()->SaveFileBlocking(copy.url().toLocalFile(), copy)) {
qLog(Warning) << "Failed to write new auto-tags to" << copy.url().toLocalFile();
}
} }
} }