From c81dcb6c33342027017f0559444685168523f486 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 17 Mar 2013 10:13:27 +0100 Subject: Fix NewPicsDialog another QFilesystemModel:: fix. Use SmDirModel instead. --- shemov.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3-70-g09d2