From 80bf76dc318276f67eeec32b8f68e82cf4bb7e62 Mon Sep 17 00:00:00 2001 From: am Date: Sat, 18 Jul 2009 17:54:27 +0000 Subject: 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 --- coveritem.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'coveritem.cpp') 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) {}; -- cgit v1.2.3-70-g09d2