summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 7f28443..e157e0e 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -58,6 +58,7 @@
#include "pictureswidget.h"
#include "pictureviewer2.h"
#include "helper.h"
+#include "smdirmodel.h"
SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags), mOpenWithGroupFS(0), mOpenWithGroupAV(0) {
//application icon
@@ -296,7 +297,7 @@ void SheMov::newMovieWizardWithFiles(){
}
mNewMovieWizard->restart();
foreach(QModelIndex sel, selected){
- mNewMovieWizard->infoPage()->addFile(sel.data(QFileSystemModel::FilePathRole).toString());
+ mNewMovieWizard->infoPage()->addFile(sel.data(SmDirModel::FullPathRole).toString());
}
QSettings s;
bool autoAddCovers = s.value("ui/autoaddcovers", false).toBool();