summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-03-17 10:05:26 +0100
committerArno <am@disconnect.de>2013-03-17 10:05:26 +0100
commit4969cdba731671df80df951543dc47c4e52d70de (patch)
tree690c8dca823f52cb508c32cdd3f01cc480ed4cb4 /filesystemwidget.cpp
parent4221ce21a0c419b908529ec40b769e6e5c3fa7dc (diff)
downloadSheMov-4969cdba731671df80df951543dc47c4e52d70de.tar.gz
SheMov-4969cdba731671df80df951543dc47c4e52d70de.tar.bz2
SheMov-4969cdba731671df80df951543dc47c4e52d70de.zip
Fix QFileSystemModel::FilePathRole usage
Make NewMovieWizard work again and fix QFileSystemModel::FilePathRole usage. QFileSystemModel::FilePathRole -> SmDirModel::FullPathRole
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);
}
}