From 4969cdba731671df80df951543dc47c4e52d70de Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 17 Mar 2013 10:05:26 +0100 Subject: Fix QFileSystemModel::FilePathRole usage Make NewMovieWizard work again and fix QFileSystemModel::FilePathRole usage. QFileSystemModel::FilePathRole -> SmDirModel::FullPathRole --- filesystemwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filesystemwidget.cpp') 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); } } -- cgit v1.2.3-70-g09d2