summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftVersion.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/minecraft/MinecraftVersion.h')
-rw-r--r--logic/minecraft/MinecraftVersion.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/logic/minecraft/MinecraftVersion.h b/logic/minecraft/MinecraftVersion.h
index 234e5566..120ea8ce 100644
--- a/logic/minecraft/MinecraftVersion.h
+++ b/logic/minecraft/MinecraftVersion.h
@@ -76,15 +76,17 @@ public: /* methods */
virtual QJsonDocument toJson(bool saveOrder) override;
+ QString getUrl() const;
+
private: /* methods */
void applyFileTo(MinecraftProfile *version);
public: /* data */
- /// The URL that this version will be downloaded from. maybe.
- QString download_url;
-
VersionSource m_versionSource = Builtin;
+ /// The URL that this version will be downloaded from.
+ QString m_versionFileURL;
+
/// the human readable version name
QString m_name;