summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-28 14:21:10 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 10:10:20 -0400
commit41292e02bdebea8b09c2c11ee87221672e970cdf (patch)
treeae130b7767feedc07bf0a5790824a9508ba588d1 /src/modinforegular.h
parentb4c26c516412b2f7270be02494b85be9cad0cadb (diff)
changed how the mod url works:
- it is now independent from the nexus mod url - it can be set in addition to having a valid mod id - both urls can be displayed in the context menu re-arranged some of the widgets on the nexus tab added a track button added a custom url checkbox and open in browser button added a max-width to the browser
Diffstat (limited to 'src/modinforegular.h')
-rw-r--r--src/modinforegular.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h
index cfe713ca..705e66a8 100644
--- a/src/modinforegular.h
+++ b/src/modinforegular.h
@@ -397,15 +397,10 @@ public:
void readMeta();
- /**
- * @brief set the URL for a mod
- */
- virtual void setURL(QString const &);
-
- /**
- * @returns the URL for a mod
- */
- virtual QString getURL() const;
+ virtual void setHasCustomURL(bool b) override;
+ virtual bool hasCustomURL() const override;
+ virtual void setCustomURL(QString const &) override;
+ virtual QString getCustomURL() const override;
private:
@@ -432,7 +427,8 @@ private:
QString m_Notes;
QString m_NexusDescription;
QString m_Repository;
- QString m_URL;
+ QString m_CustomURL;
+ bool m_HasCustomURL;
QString m_GameName;
mutable QStringList m_Archives;