summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-08-15 12:06:26 +0200
committerTannin <devnull@localhost>2015-08-15 12:06:26 +0200
commit89f3c0d65a79fdc9230e5a0acfdc5454238460cd (patch)
tree3c73564258efdbd4975f9dd1251f3e01662be522 /src/mainwindow.cpp
parent69a8a40b9993b791d99097549b13dee2fad0f222 (diff)
more verbosity about login/logout to/from nexus
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
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]");