aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-25 17:51:30 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-25 17:51:30 +0300
commit52dd09bdf752b9d5a4cad19991aee60ac4f08451 (patch)
tree46b9007164f419876a232387c4f86b341039a71f /launcher/minecraft/mod
parentd344ffe37047037bd3bca070557a49fbfadcb361 (diff)
parent288ea3d19b6edbd2b4570408e71e635df0d7abfe (diff)
downloadPrismLauncher-52dd09bdf752b9d5a4cad19991aee60ac4f08451.tar.gz
PrismLauncher-52dd09bdf752b9d5a4cad19991aee60ac4f08451.tar.bz2
PrismLauncher-52dd09bdf752b9d5a4cad19991aee60ac4f08451.zip
Merge branch 'curse' of github.com:Trial97/PrismLauncher into curse
Diffstat (limited to 'launcher/minecraft/mod')
-rw-r--r--launcher/minecraft/mod/Mod.cpp7
-rw-r--r--launcher/minecraft/mod/Mod.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/launcher/minecraft/mod/Mod.cpp b/launcher/minecraft/mod/Mod.cpp
index d5b96bad..e613ddeb 100644
--- a/launcher/minecraft/mod/Mod.cpp
+++ b/launcher/minecraft/mod/Mod.cpp
@@ -166,13 +166,6 @@ auto Mod::homeurl() const -> QString
return details().homeurl;
}
-auto Mod::metaurl() const -> QString
-{
- if (metadata() == nullptr)
- return homeurl();
- return ModPlatform::getMetaURL(metadata()->provider, metadata()->project_id);
-}
-
auto Mod::description() const -> QString
{
return details().description;
diff --git a/launcher/minecraft/mod/Mod.h b/launcher/minecraft/mod/Mod.h
index d6272f4d..d4e419f4 100644
--- a/launcher/minecraft/mod/Mod.h
+++ b/launcher/minecraft/mod/Mod.h
@@ -70,7 +70,6 @@ public:
auto provider() const -> std::optional<QString>;
auto licenses() const -> const QList<ModLicense>&;
auto issueTracker() const -> QString;
- auto metaurl() const -> QString;
/** Get the intneral path to the mod's icon file*/
QString iconPath() const { return m_local_details.icon_file; };