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:
parent
b1d513c487
commit
6a8f41f0bb
@ -245,7 +245,9 @@ void TrackSelectionDialog::SaveData(const QList<Data>& data) {
|
||||
copy.set_track(new_metadata.track());
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user