From 89f3c0d65a79fdc9230e5a0acfdc5454238460cd Mon Sep 17 00:00:00 2001 From: Tannin Date: Sat, 15 Aug 2015 12:06:26 +0200 Subject: more verbosity about login/logout to/from nexus --- src/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c726991c..4c59d636 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2827,6 +2827,8 @@ void MainWindow::checkModsForUpdates() m_OrganizerCore.doAfterLogin([this] () { this->checkModsForUpdates(); }); NexusInterface::instance()->getAccessManager()->login(username, password); } 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(this); } } @@ -4321,7 +4323,7 @@ void MainWindow::processLOOTOut(const std::string &lootOut, std::string &errorMe std::tr1::regex exRequires("\"([^\"]*)\" requires \"([^\"]*)\", but it is missing\\."); std::tr1::regex exIncompatible("\"([^\"]*)\" is incompatible with \"([^\"]*)\", but both are present\\."); - foreach (const std::string &line, lines) { + for (const std::string &line : lines) { if (line.length() > 0) { size_t progidx = line.find("[progress]"); size_t erroridx = line.find("[error]"); -- cgit v1.3.1