diff options
author | Arno <am@disconnect.de> | 2013-03-20 17:10:01 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-03-20 17:10:01 +0100 |
commit | 457e5328c8fbbf236fb163e90d732a35a583fd2d (patch) | |
tree | 3a7134cf3b3ef9fc259420baf8b510ef8d12d43b /filesystemwidget.cpp | |
parent | dc603077a93b2b24d709126200e7c5ee8c1af83b (diff) | |
download | SheMov-457e5328c8fbbf236fb163e90d732a35a583fd2d.tar.gz SheMov-457e5328c8fbbf236fb163e90d732a35a583fd2d.tar.bz2 SheMov-457e5328c8fbbf236fb163e90d732a35a583fd2d.zip |
Revert fix for selectAllPV
4969cdba731671df80df951543dc47c4e52d70de "fixed"
QFileSystemModel::FilePathRole for that function. We're actually
querying the DirModel, unfix it.
Diffstat (limited to 'filesystemwidget.cpp')
-rw-r--r-- | filesystemwidget.cpp | 2 |
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); } } |