summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 03b9271..6c443de 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -61,6 +61,10 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
connect(mATree->filesWidget()->filesTree()->selectionModel(), SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)), this, SLOT(updateSelectionCount(const QItemSelection &, const QItemSelection &)));
connect(mATree->seriesWidget()->seriesTree()->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(updateSelectionCount(QItemSelection,QItemSelection)));
+ //newmoviewizard
+ mNewMovieWizard = new NewMovieWizard(this);
+ connect(mNewMovieWizard, SIGNAL(seriesAdded(QString,int)), mATree->seriesWidget(), SLOT(seriesAdded(QString,int)));
+
QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout->addWidget(mTab);
@@ -207,8 +211,8 @@ void SheMov::showStatistics(){
}
void SheMov::newMovieWizard(){
- NewMovieWizard wiz(this);
- wiz.exec();
+ mNewMovieWizard->restart();
+ mNewMovieWizard->show();
}
void SheMov::setSize(qint64 size){