Skip to content

Commit

Permalink
Renamed "http_url", just "url"
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 25, 2014
1 parent 0d9a589 commit dace53d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/addon/addon.cpp
Expand Up @@ -83,7 +83,7 @@ Addon::parse(const Reader& lisp)
lisp.get("title", addon->m_title);
lisp.get("author", addon->m_author);
lisp.get("license", addon->m_license);
lisp.get("http-url", addon->m_http_url);
lisp.get("url", addon->m_url);
lisp.get("md5", addon->m_md5);

return addon;
Expand Down Expand Up @@ -128,7 +128,7 @@ Addon::Addon() :
m_title(),
m_author(),
m_license(),
m_http_url(),
m_url(),
m_md5(),
m_install_filename(),
m_enabled(false)
Expand Down
4 changes: 2 additions & 2 deletions src/addon/addon.hpp
Expand Up @@ -42,7 +42,7 @@ class Addon
std::string m_license;

// additional fields provided for addons from an addon repository
std::string m_http_url;
std::string m_url;
std::string m_md5;

// fields filled by the AddonManager
Expand All @@ -61,7 +61,7 @@ class Addon
std::string get_author() const { return m_author; }
std::string get_license() const { return m_license; }

std::string get_http_url() const { return m_http_url; }
std::string get_url() const { return m_url; }
std::string get_md5() const { return m_md5; }

std::string get_filename() const;
Expand Down

0 comments on commit dace53d

Please sign in to comment.