From 780cc2a35217e887c9bba0573be1146505114521 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Wed, 4 Nov 2020 21:46:39 +0100 Subject: Add IModInterface::fileTree(). --- src/modinfowithconflictinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modinfowithconflictinfo.cpp') diff --git a/src/modinfowithconflictinfo.cpp b/src/modinfowithconflictinfo.cpp index 70f9b3f1..dd8618e3 100644 --- a/src/modinfowithconflictinfo.cpp +++ b/src/modinfowithconflictinfo.cpp @@ -310,21 +310,21 @@ void ModInfoWithConflictInfo::diskContentModified() { void ModInfoWithConflictInfo::prefetch() { // Populating the tree to 1-depth (IFileTree is lazy, so size() forces the // tree to populate the first level): - contentFileTree()->size(); + fileTree()->size(); } bool ModInfoWithConflictInfo::doIsValid() const { auto mdc = m_GamePlugin->feature(); if (mdc) { - auto qdirfiletree = contentFileTree(); + auto qdirfiletree = fileTree(); return mdc->dataLooksValid(qdirfiletree) == ModDataChecker::CheckReturn::VALID; } return true; } -std::shared_ptr ModInfoWithConflictInfo::contentFileTree() const { +std::shared_ptr ModInfoWithConflictInfo::fileTree() const { return m_FileTree.value(); } -- cgit v1.3.1