Remove metaurl function
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
8ade44c9a3
commit
288ea3d19b
@ -166,13 +166,6 @@ auto Mod::homeurl() const -> QString
|
|||||||
return details().homeurl;
|
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
|
auto Mod::description() const -> QString
|
||||||
{
|
{
|
||||||
return details().description;
|
return details().description;
|
||||||
|
@ -70,7 +70,6 @@ public:
|
|||||||
auto provider() const -> std::optional<QString>;
|
auto provider() const -> std::optional<QString>;
|
||||||
auto licenses() const -> const QList<ModLicense>&;
|
auto licenses() const -> const QList<ModLicense>&;
|
||||||
auto issueTracker() const -> QString;
|
auto issueTracker() const -> QString;
|
||||||
auto metaurl() const -> QString;
|
|
||||||
|
|
||||||
/** Get the intneral path to the mod's icon file*/
|
/** Get the intneral path to the mod's icon file*/
|
||||||
QString iconPath() const { return m_local_details.icon_file; };
|
QString iconPath() const { return m_local_details.icon_file; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user