diff options
Diffstat (limited to 'coveritem.cpp')
-rw-r--r-- | coveritem.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/coveritem.cpp b/coveritem.cpp index 658c630..f29e81c 100644 --- a/coveritem.cpp +++ b/coveritem.cpp @@ -9,12 +9,4 @@ #include "coveritem.h" -CoverItem::CoverItem(const QString &filename, const QString &type, const QString &md5) : mFilename(filename), mMd5(md5) { - bool valid = false; - if((type == "front") || (type == "back")){ - valid = true; - } - if(!valid){ - qWarning("Invalid covertype: %s", qPrintable(type)); - } -} +CoverItem::CoverItem(const QString &filename, const QString &type, const QString &md5) : mFilename(filename), mType(type), mMd5(md5) {}; |