summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-05-24 23:33:21 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-05-24 23:33:21 +0200
commit238e233c18d22d01e966efaa86975f5f37bb7fa2 (patch)
tree3c4eb7af80d4e47fa85f296e5c5aafbed0b5e415 /src/modinforegular.h
parent0aac4f3291d65ebc1b0bbee744fca347ecef7022 (diff)
Use memoization for file tree, contents and validity of ModInfo.
Diffstat (limited to 'src/modinforegular.h')
-rw-r--r--src/modinforegular.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h
index 08546c69..e63e7570 100644
--- a/src/modinforegular.h
+++ b/src/modinforegular.h
@@ -289,8 +289,6 @@ public:
*/
virtual std::vector<EFlag> getFlags() const override;
- virtual std::vector<EContent> getContents() const override;
-
/**
* @return an indicator if and how this mod should be highlighted by the UI
*/
@@ -418,6 +416,8 @@ private slots:
protected:
+ virtual std::vector<EContent> doGetContents() const override;
+
ModInfoRegular(PluginContainer *pluginContainer, const MOBase::IPluginGame *game, const QDir &path, MOShared::DirectoryEntry **directoryStructure);
private: