summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'newmoviewizard.cpp')
-rw-r--r--newmoviewizard.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp
index 8249a0c..9b6b67b 100644
--- a/newmoviewizard.cpp
+++ b/newmoviewizard.cpp
@@ -37,7 +37,7 @@
#include "seriesmetadatamodel.h"
#include "filestreemodel.h"
#include "helper.h"
-#include "pictureviewer.h"
+#include "pictureviewer2.h"
NewMovieWizard::NewMovieWizard(QWidget *parent) : QWizard(parent){
mInfoPage = new MovieInfoPage;
@@ -466,13 +466,13 @@ void MovieInfoPage::itemClicked(const QModelIndex &index){
switch(type){
case WizardTreeModel::Movie:{
QString framePath = SmGlobals::instance()->frameCache()->entryPath(index.data(WizardTreeModel::FullPathRole).toString(), QString());
- mPicViewer->showPic(framePath, false);
+ mPicViewer->setFile(framePath);
break;
}
case WizardTreeModel::FrontCover:
case WizardTreeModel::BackCover:
case WizardTreeModel::GeneralCover:
- mPicViewer->showPic(index.data(WizardTreeModel::FullPathRole).toString(), false);
+ mPicViewer->setFile(index.data(WizardTreeModel::FullPathRole).toString());
break;
default:
mPicViewer->setVisible(false);