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