summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shemov.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shemov.cpp b/shemov.cpp
index e157e0e..1fcc5f5 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -1178,7 +1178,7 @@ void SheMov::newPicsDialogWithFiles(){
}
QStringList files;
foreach(QModelIndex idx, selected){
- files << idx.data(QFileSystemModel::FilePathRole).toString();
+ files << idx.data(SmDirModel::FullPathRole).toString();
}
NewPicsDialog npd(files, this);
npd.exec();