summaryrefslogtreecommitdiffstats
path: root/archiveeditdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archiveeditdialog.cpp')
-rw-r--r--archiveeditdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/archiveeditdialog.cpp b/archiveeditdialog.cpp
index eae336d..925afe4 100644
--- a/archiveeditdialog.cpp
+++ b/archiveeditdialog.cpp
@@ -104,6 +104,8 @@ void ArchiveEditDialog::archive(){
QString file = mCoverEditor->movie();
QString title = mFileWidget->movieTitle().toLower();
int quality = mFileWidget->quality();
+ int seriesno = mFileWidget->seriesNo();
+ int partno = mFileWidget->partNo();
QStringList files;
files << front << back << general;
files.removeAll(QString());
@@ -128,7 +130,7 @@ void ArchiveEditDialog::archive(){
}
QList<QVariant> data;
QFileInfo movie(file);
- data << title << movie.fileName() << md5.value(file) << movie.size() << genre << quality << -1;
+ data << title << movie.fileName() << md5.value(file) << movie.size() << genre << quality << -1 << seriesno << partno;
QList<CoverItem> covers;
if(!front.isEmpty()){
covers << coverItem(front, "front", md5.value(front));