diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b14a14a1..f346a3e4 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -407,16 +407,9 @@ MainWindow::MainWindow(Settings& settings, OrganizerCore& organizerCore,
SLOT(nexusApi()));
connect(NexusInterface::instance().getAccessManager(),
- SIGNAL(credentialsReceived(const APIUserAccount&)), this,
- SLOT(updateWindowTitle(const APIUserAccount&)));
-
- connect(NexusInterface::instance().getAccessManager(),
- SIGNAL(credentialsReceived(const APIUserAccount&)),
- &NexusInterface::instance(), SLOT(setUserAccount(const APIUserAccount&)));
-
- connect(&NexusInterface::instance(),
- SIGNAL(requestsChanged(const APIStats&, const APIUserAccount&)), this,
- SLOT(onRequestsChanged(const APIStats&, const APIUserAccount&)));
+ &NXMAccessManager::credentialsReceived, this, &MainWindow::updateWindowTitle);
+ connect(&NexusInterface::instance(), &NexusInterface::requestsChanged, ui->statusBar,
+ &StatusBar::setAPI);
connect(&TutorialManager::instance(), SIGNAL(windowTutorialFinished(QString)), this,
SLOT(windowTutorialFinished(QString)));
@@ -658,11 +651,6 @@ void MainWindow::updateWindowTitle(const APIUserAccount& user)
this->setWindowTitle(title);
}
-void MainWindow::onRequestsChanged(const APIStats& stats, const APIUserAccount& user)
-{
- ui->statusBar->setAPI(stats, user);
-}
-
void MainWindow::resizeLists(bool pluginListCustom)
{
// ensure the columns aren't so small you can't see them any more
diff --git a/src/mainwindow.h b/src/mainwindow.h
index fb424403..42d3d5e7 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -385,8 +385,6 @@ private slots:
void nxmRequestFailed(QString gameName, int modID, int fileID, QVariant userData,
int requestID, int errorCode, const QString& errorString);
- void onRequestsChanged(const APIStats& stats, const APIUserAccount& user);
-
void modRenamed(const QString& oldName, const QString& newName);
void modRemoved(const QString& fileName);
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()
diff --git a/src/organizer_en.ts b/src/organizer_en.ts
index dc4bc55e..46169a5a 100644
--- a/src/organizer_en.ts
+++ b/src/organizer_en.ts
@@ -3267,7 +3267,7 @@ This is likely due to a corrupted or incompatible download or unrecognized archi
-
+
@@ -3401,7 +3401,7 @@ This is likely due to a corrupted or incompatible download or unrecognized archi
-
+
@@ -3659,7 +3659,7 @@ This is likely due to a corrupted or incompatible download or unrecognized archi
-
+
@@ -3758,154 +3758,154 @@ This is likely due to a corrupted or incompatible download or unrecognized archi
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Translation strings for tutorial names
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
@@ -5774,32 +5774,32 @@ Please enter a name:
NexusInterface
-
+
-
+
-
+
-
+
-
+
-
+
@@ -7618,23 +7618,23 @@ Destination:
-
+
-
+
-
-
+
+
-
+