Fixed ArtworkModel::isEmpty() to actually give the expected result. Previous code gave the opposite of the expected result! This bug could cause the cover artwork to be lost in AudioFileModel_MetaInfo::update().

This commit is contained in:
LoRd_MuldeR 2014-02-08 17:24:24 +01:00
parent b4ee0af400
commit a07cec8342

View File

@ -41,7 +41,7 @@ public:
void setFilePath(const QString &newPath, bool isOwner = true);
void clear(void);
inline bool isEmpty(void) const { return (m_data != NULL); }
inline bool isEmpty(void) const { return (m_data == NULL); }
private:
const QString m_nullString;