diff options
| author | Tom Tanner <thosrtanner2@users.sourceforge.net> | 2015-08-15 16:52:18 +0100 |
|---|---|---|
| committer | Tom Tanner <thosrtanner2@users.sourceforge.net> | 2015-08-15 16:52:18 +0100 |
| commit | 0fa7f7469ff86d4e981dda89ba69183c009e8ddc (patch) | |
| tree | 68db003b60e668b45f186fa8e27a2c12f7e193d9 /src/mainwindow.cpp | |
| parent | 821f95b8ab259f89f379c10e533c42476c56d361 (diff) | |
| parent | 89f3c0d65a79fdc9230e5a0acfdc5454238460cd (diff) | |
Merge
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a0a56406..f0f944a8 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);
}
}
@@ -4322,7 +4324,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]");
|
