summaryrefslogtreecommitdiff
path: root/src/settingsdialognexus.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2026-05-03 03:04:49 -0500
committerGitHub <noreply@github.com>2026-05-03 03:04:49 -0500
commitef7499aade74a148416b5fde7e8c03a75ea381c3 (patch)
tree28b596b09fd5849392d963684e38303ed6ab9b0f /src/settingsdialognexus.cpp
parent2e393aa3cc9adba5a5e82ecc0006b11bf024d3e0 (diff)
Extended MODL / direct download handling (#2384)
* Extended MODL / direct download handling - name, modname, version, and source options added to download command - nxmhandler init adds schemas and MODL entry with default launch args - Add MODL register button to general tab - On window display, call meta function to trigger both registrations
Diffstat (limited to 'src/settingsdialognexus.cpp')
-rw-r--r--src/settingsdialognexus.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/settingsdialognexus.cpp b/src/settingsdialognexus.cpp
index abd487f1..29873d23 100644
--- a/src/settingsdialognexus.cpp
+++ b/src/settingsdialognexus.cpp
@@ -343,7 +343,7 @@ NexusSettingsTab::NexusSettingsTab(Settings& s, SettingsDialog& d) : SettingsTab
clearCache();
});
QObject::connect(ui->associateButton, &QPushButton::clicked, [&] {
- associate();
+ Settings::instance().nexus().registerAsNXMHandler(true);
});
QObject::connect(ui->useCustomBrowser, &QCheckBox::clicked, [&] {
updateCustomBrowser();
@@ -417,11 +417,6 @@ void NexusSettingsTab::clearCache()
NexusInterface::instance().clearCache();
}
-void NexusSettingsTab::associate()
-{
- Settings::instance().nexus().registerAsNXMHandler(true);
-}
-
void NexusSettingsTab::updateNexusData()
{
const auto user = NexusInterface::instance().getAPIUserAccount();