From ef7499aade74a148416b5fde7e8c03a75ea381c3 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Sun, 3 May 2026 03:04:49 -0500 Subject: 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 --- src/settingsdialognexus.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/settingsdialognexus.cpp') 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(); -- cgit v1.3.1