summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 9368192f..3a341298 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3996,10 +3996,8 @@ void MainWindow::checkModsForUpdates()
if (m_OrganizerCore.settings().getNexusApiKey(apiKey)) {
m_OrganizerCore.doAfterLogin([this] () { this->checkModsForUpdates(); });
NexusInterface::instance(&m_PluginContainer)->getAccessManager()->apiCheck(apiKey);
- } else { // otherwise there will be no endorsement info
- MessageDialog::showMessage(tr("Not logged in, endorsement information will be wrong"),
- this, true);
- m_ModsToUpdate = ModInfo::checkAllForUpdate(&m_PluginContainer, this);
+ } else {
+ qWarning("You are not currently authenticated with Nexus. Please do so under Settings -> Nexus.");
}
}
@@ -5457,12 +5455,10 @@ void MainWindow::modUpdateCheck()
} else {
QString apiKey;
if (m_OrganizerCore.settings().getNexusApiKey(apiKey)) {
- m_OrganizerCore.doAfterLogin([this]() { this->checkModsForUpdates(); });
+ m_OrganizerCore.doAfterLogin([this]() { this->modUpdateCheck(); });
NexusInterface::instance(&m_PluginContainer)->getAccessManager()->apiCheck(apiKey);
- } else { // otherwise there will be no endorsement info
- MessageDialog::showMessage(tr("Not logged in, endorsement information will be wrong"),
- this, true);
- m_ModsToUpdate += ModInfo::autoUpdateCheck(&m_PluginContainer, this);
+ } else {
+ qWarning("You are not currently authenticated with Nexus. Please do so under Settings -> Nexus.");
}
}
}