summaryrefslogtreecommitdiff
path: root/src/modinfo.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-05-24 13:27:40 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-05-24 13:27:40 +0200
commit9fb639a00e1a809a9ea9b5e68777ec46f534761c (patch)
tree9f72cebe6ba9825a0330fefe60a0b55de2392a2e /src/modinfo.cpp
parent08ae9db2fd2a07acb2433275fc84c2ca47267a92 (diff)
Update ModInfo to use a single file tree for all content-related operations.
Diffstat (limited to 'src/modinfo.cpp')
-rw-r--r--src/modinfo.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp
index 379fa071..0dd113c5 100644
--- a/src/modinfo.cpp
+++ b/src/modinfo.cpp
@@ -306,7 +306,7 @@ void ModInfo::updateIndices()
ModInfo::ModInfo(PluginContainer *pluginContainer)
- : m_Valid(false), m_PrimaryCategory(-1)
+ : m_PrimaryCategory(-1)
{
}
@@ -528,11 +528,6 @@ bool ModInfo::categorySet(int categoryID) const
return false;
}
-void ModInfo::testValid()
-{
- m_Valid = doTestValid();
-}
-
QUrl ModInfo::parseCustomURL() const
{
if (!hasCustomURL() || getCustomURL().isEmpty()) {