summaryrefslogtreecommitdiff
path: root/src/nexusinterface.cpp
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-26 21:22:47 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-26 21:22:47 +0000
commitca54ee2e9a8f1d49d81d5c3b66a860b9b16992d6 (patch)
tree94f1dc148c2224357bb5cc2e6bb04074caf1191b /src/nexusinterface.cpp
parent2025145ff6e1ddf1b433eae2f9418e10a6fea82e (diff)
Renamed getNexusName to getGameShortName as previously because it hopefully isn't too nexus related.
Diffstat (limited to 'src/nexusinterface.cpp')
-rw-r--r--src/nexusinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index 7a0b0a17..aadfdc1e 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -244,12 +244,12 @@ bool NexusInterface::isURLGameRelated(const QUrl &url) const
{
QString const name(url.toString());
return name.startsWith(getGameURL() + "/") ||
- name.startsWith("http://" + m_Game->getNexusName().toLower() + ".nexusmods.com/mods/");
+ name.startsWith("http://" + m_Game->getGameShortName().toLower() + ".nexusmods.com/mods/");
}
QString NexusInterface::getGameURL() const
{
- return "http://www.nexusmods.com/" + m_Game->getNexusName().toLower();
+ return "http://www.nexusmods.com/" + m_Game->getGameShortName().toLower();
}
QString NexusInterface::getModURL(int modID) const
@@ -576,7 +576,7 @@ void NexusInterface::managedGameChanged(IPluginGame const *game)
namespace {
QString get_management_url(MOBase::IPluginGame const *game)
{
- return "http://nmm.nexusmods.com/" + game->getNexusName().toLower();
+ return "http://nmm.nexusmods.com/" + game->getGameShortName().toLower();
}
}