OSDN Git Service

Fixed ArtworkModel::isEmpty() to actually give the expected result. Previous code...
authorLoRd_MuldeR <mulder2@gmx.de>
Sat, 8 Feb 2014 16:24:24 +0000 (17:24 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Sat, 8 Feb 2014 16:24:24 +0000 (17:24 +0100)
src/Model_Artwork.h

index 9ca99ce..308cb61 100644 (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;