summaryrefslogtreecommitdiff
path: root/src/nexusinterface.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2024-08-01 10:40:44 +0200
committerGitHub <noreply@github.com>2024-08-01 10:40:44 +0200
commitacd201157d85bb2347e891040e46fd1572bedcc3 (patch)
tree7856d03e7502ab0a0c0e27a53b44b874a1b809b3 /src/nexusinterface.cpp
parentf11925ab88cd5881c7e5dd35c40744d95b3eab2d (diff)
Move slot connections to avoid issue when starting MO2 to download a NXM link. (#2082)
* Move slot connections to avoid issue when starting MO2 to download a NXM link.
Diffstat (limited to 'src/nexusinterface.cpp')
-rw-r--r--src/nexusinterface.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index 6a39128f..359b7e41 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -280,8 +280,11 @@ NexusInterface::NexusInterface(Settings* s) : m_PluginContainer(nullptr)
m_DiskCache = new QNetworkDiskCache(this);
- connect(m_AccessManager, SIGNAL(requestNXMDownload(QString)), this,
- SLOT(downloadRequestedNXM(QString)));
+ connect(m_AccessManager, &NXMAccessManager::requestNXMDownload, this,
+ &NexusInterface::downloadRequestedNXM);
+
+ connect(m_AccessManager, &NXMAccessManager::credentialsReceived, this,
+ &NexusInterface::setUserAccount);
}
NexusInterface::~NexusInterface()