From 9dc2528dfdb04f18641602cfd24c09cb9b119107 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 8 Jul 2013 22:09:36 +0200 Subject: Make new archive work Well, this is a huge commit. Should be severals, but who knew... First and foremost feature: Make NewMovieWizard work with the experimental model. This change obsoleted a lot of code. Also, the old archive won't work with with the new Wizward... There are most probably many other features I forgot about. --- shemov.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shemov.cpp') diff --git a/shemov.cpp b/shemov.cpp index be3c0d3..f49a293 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -97,7 +97,9 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla splash.showMessage(tr("Creating misc. Dialogs..."), Qt::AlignHCenter, Qt::yellow); qApp->processEvents(); mNewMovieWizard = new NewMovieWizard(this); - connect(mNewMovieWizard, SIGNAL(seriesAdded(QString,int)), mATree->seriesWidget(), SLOT(seriesAdded(QString,int))); + mNewMovieWizard->setMinimumWidth(1024); + ArchiveController *c = SmGlobals::instance()->archiveController(); + connect(mNewMovieWizard, SIGNAL(accepted()), c->archiveTreeModel(), SLOT(refresh())); mDbAnalyzerDialog = new DbAnalyzerDialog(this); connect(mDbAnalyzerDialog, SIGNAL(partClicked(int, int)), mATree, SLOT(selectMoviePart(int, int))); connect(mDbAnalyzerDialog, SIGNAL(delItems(int,QList&)), this, SLOT(analyzeDelete(int,QList&))); -- cgit v1.2.3-70-g09d2