diff options
author | am <am@f440f766-f032-0410-8965-dc7d17de2ca0> | 2009-07-18 17:54:27 +0000 |
---|---|---|
committer | am <am@f440f766-f032-0410-8965-dc7d17de2ca0> | 2009-07-18 17:54:27 +0000 |
commit | 80bf76dc318276f67eeec32b8f68e82cf4bb7e62 (patch) | |
tree | 262a57a754dcbe01f0a21dd9c69513807be3369b /coveritem.cpp | |
parent | a477a1998c03bc0e7251463aff5486e3c0872d23 (diff) | |
download | SheMov-80bf76dc318276f67eeec32b8f68e82cf4bb7e62.tar.gz SheMov-80bf76dc318276f67eeec32b8f68e82cf4bb7e62.tar.bz2 SheMov-80bf76dc318276f67eeec32b8f68e82cf4bb7e62.zip |
Again huge changes (should go on vacation more often :))
-turned archive tab into a QDialog
-fixed duplicate handling in ListModel
-fixed html output in archive dialog
-actually made archiving work
-changed covertype to text in database
-fixed bug with covertype in coveritem
git-svn-id: file:///var/svn/repos2/shemov/trunk@390 f440f766-f032-0410-8965-dc7d17de2ca0
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) {}; |