summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/browserdialog.cpp4
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/nexusinterface.cpp2
-rw-r--r--src/nxmaccessmanager.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/browserdialog.cpp b/src/browserdialog.cpp
index c2c65acc..e186ad63 100644
--- a/src/browserdialog.cpp
+++ b/src/browserdialog.cpp
@@ -173,13 +173,13 @@ void BrowserDialog::titleChanged(const QString &title)
QString BrowserDialog::guessFileName(const QString &url)
{
- QRegExp uploadsExp(QString("http://.+/uploads/([^/]+)$"));
+ QRegExp uploadsExp(QString("https://.+/uploads/([^/]+)$"));
if (uploadsExp.indexIn(url) != -1) {
// these seem to be premium downloads
return uploadsExp.cap(1);
}
- QRegExp filesExp(QString("http://.+\\?file=([^&]+)"));
+ QRegExp filesExp(QString("https://.+\\?file=([^&]+)"));
if (filesExp.indexIn(url) != -1) {
// a regular manual download?
return filesExp.cap(1);
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e737dd38..6e244d49 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1905,7 +1905,7 @@ void MainWindow::wikiTriggered()
void MainWindow::issueTriggered()
{
- QDesktopServices::openUrl(QUrl("http://github.com/Modorganizer2/modorganizer/issues"));
+ QDesktopServices::openUrl(QUrl("https://github.com/Modorganizer2/modorganizer/issues"));
}
void MainWindow::tutorialTriggered()
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index 45811658..8bf0de6e 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -645,7 +645,7 @@ void NexusInterface::managedGameChanged(IPluginGame const *game)
namespace {
QString get_management_url(MOBase::IPluginGame const *game)
{
- return "https://nmm.nexusmods.com/" + game->gameNexusName().toLower();
+ return "https://legacy-api.nexusmods.com/" + game->gameNexusName().toLower();
}
}
diff --git a/src/nxmaccessmanager.cpp b/src/nxmaccessmanager.cpp
index 5b067d3c..05016e8f 100644
--- a/src/nxmaccessmanager.cpp
+++ b/src/nxmaccessmanager.cpp
@@ -42,7 +42,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
using namespace MOBase;
namespace {
- QString const Nexus_Management_URL("https://nmm.nexusmods.com");
+ QString const Nexus_Management_URL("https://legacy-api.nexusmods.com");
}
// unfortunately Nexus doesn't seem to document these states, all I know is all these listed