diff options
author | Arno <am@disconnect.de> | 2013-07-08 22:09:36 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-07-08 22:09:36 +0200 |
commit | 9dc2528dfdb04f18641602cfd24c09cb9b119107 (patch) | |
tree | 3849b34fea7be7db681af81ab732c4cbe72371ac /shemov.cpp | |
parent | 1013140a8b66968de1cfa0d07a353b47b8234899 (diff) | |
download | SheMov-9dc2528dfdb04f18641602cfd24c09cb9b119107.tar.gz SheMov-9dc2528dfdb04f18641602cfd24c09cb9b119107.tar.bz2 SheMov-9dc2528dfdb04f18641602cfd24c09cb9b119107.zip |
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.
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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<int>&)), this, SLOT(analyzeDelete(int,QList<int>&))); |