summaryrefslogtreecommitdiff
path: root/src/modinfowithconflictinfo.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2020-11-05 10:43:58 +0100
committerGitHub <noreply@github.com>2020-11-05 10:43:58 +0100
commita63a27840bfa7b08f295bfe682ebc33d70a613b9 (patch)
tree3bf8b3cf5d1ea618c7ac894b6bd58b00e4cefeb5 /src/modinfowithconflictinfo.cpp
parenta7d4f2a0c40d35d547e93994be3f92b6d43a0833 (diff)
parent780cc2a35217e887c9bba0573be1146505114521 (diff)
Merge pull request #1281 from Holt59/imodinterface-filetree
Add IModInterface::fileTree().
Diffstat (limited to 'src/modinfowithconflictinfo.cpp')
-rw-r--r--src/modinfowithconflictinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modinfowithconflictinfo.cpp b/src/modinfowithconflictinfo.cpp
index 24c154e6..6e3f751e 100644
--- a/src/modinfowithconflictinfo.cpp
+++ b/src/modinfowithconflictinfo.cpp
@@ -311,21 +311,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();
}