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:
parent
b4ee0af400
commit
a07cec8342
@ -41,7 +41,7 @@ public:
|
|||||||
void setFilePath(const QString &newPath, bool isOwner = true);
|
void setFilePath(const QString &newPath, bool isOwner = true);
|
||||||
void clear(void);
|
void clear(void);
|
||||||
|
|
||||||
inline bool isEmpty(void) const { return (m_data != NULL); }
|
inline bool isEmpty(void) const { return (m_data == NULL); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const QString m_nullString;
|
const QString m_nullString;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user