diff --git a/fileref.cpp b/fileref.cpp index db9f7e1a..4e72396f 100644 --- a/fileref.cpp +++ b/fileref.cpp @@ -82,9 +82,9 @@ File *FileRef::file() const return d->file; } -void FileRef::save() +bool FileRef::save() { - d->file->save(); + return d->file->save(); } bool FileRef::isNull() const diff --git a/fileref.h b/fileref.h index 8376d264..14789e08 100644 --- a/fileref.h +++ b/fileref.h @@ -133,9 +133,9 @@ namespace TagLib { File *file() const; /*! - * Saves the file. + * Saves the file. Returns true on success. */ - void save(); + bool save(); /*! * Returns true if the file (and as such other pointers) are null.