From 618dfb51d93898632830f1b87443d3f748780871 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:05:53 +0200 Subject: 3.5 --- ui/gridView.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/gridView.cpp') diff --git a/ui/gridView.cpp b/ui/gridView.cpp index 585296a9..4989db3d 100644 --- a/ui/gridView.cpp +++ b/ui/gridView.cpp @@ -227,13 +227,13 @@ GridView::StatusSyncPreview GridView::updateSyncPreview(bool hideFiltered, //map } -void GridView::getAllFileRef(const std::set& guiRows, std::vector& output) +void GridView::getAllFileRef(const std::set& guiRows, std::vector& output) { - std::set::const_iterator upperEnd = guiRows.lower_bound(rowsOnView()); //loop over valid rows only! + std::set::const_iterator upperEnd = guiRows.lower_bound(rowsOnView()); //loop over valid rows only! output.clear(); output.reserve(guiRows.size()); - for (std::set::const_iterator i = guiRows.begin(); i != upperEnd; ++i) + for (std::set::const_iterator i = guiRows.begin(); i != upperEnd; ++i) { FileSystemObject* fsObj = getReferencedRow(viewRef[*i]); if (fsObj) @@ -277,10 +277,10 @@ public: void execute(const HierarchyObject& hierObj) { //add file references - std::for_each(hierObj.subFiles.begin(), hierObj.subFiles.end(), *this); + std::for_each(hierObj.useSubFiles().begin(), hierObj.useSubFiles().end(), *this); //add dir references - std::for_each(hierObj.subDirs.begin(), hierObj.subDirs.end(), *this); + std::for_each(hierObj.useSubDirs().begin(), hierObj.useSubDirs().end(), *this); } void operator()(const FileMapping& fileObj) -- cgit