summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesystemwidget.cpp')
-rw-r--r--filesystemwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystemwidget.cpp b/filesystemwidget.cpp
index 457d903..efe5149 100644
--- a/filesystemwidget.cpp
+++ b/filesystemwidget.cpp
@@ -423,7 +423,7 @@ void FilesystemWidget::selectAllPV(){
QModelIndex idx = mDirView->currentIndex();
if(idx.isValid()){
QModelIndex real = mDirProxy->mapToSource(idx);
- QString filePath = real.data(QFileSystemModel::FilePathRole).toString();
+ QString filePath = real.data(SmDirModel::FullPathRole).toString();
mPicViewer->addFiles(filePath, true);
}
}