diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-04 21:46:39 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-04 21:46:39 +0100 |
| commit | 780cc2a35217e887c9bba0573be1146505114521 (patch) | |
| tree | 6ade81a3c53b7cb21bbf651e9e3e4e94cc561f98 /src/modinfowithconflictinfo.cpp | |
| parent | f507305ffbeba74e9ea0fe6f286af0f8907264e7 (diff) | |
Add IModInterface::fileTree().
Diffstat (limited to 'src/modinfowithconflictinfo.cpp')
| -rw-r--r-- | src/modinfowithconflictinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<ModDataChecker>(); if (mdc) { - auto qdirfiletree = contentFileTree(); + auto qdirfiletree = fileTree(); return mdc->dataLooksValid(qdirfiletree) == ModDataChecker::CheckReturn::VALID; } return true; } -std::shared_ptr<const IFileTree> ModInfoWithConflictInfo::contentFileTree() const { +std::shared_ptr<const IFileTree> ModInfoWithConflictInfo::fileTree() const { return m_FileTree.value(); } |
