diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-01-18 22:11:33 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-01-18 22:11:33 +0100 |
commit | 3fabb11f4c59baffb14db00d338d9efe342e277e (patch) | |
tree | c33d242761d31879f12821daab4d4f714a47b698 /logic/updater/NotificationChecker.cpp | |
parent | 8650aa81f06d9e229764b200f1dca135412c2ec1 (diff) | |
download | MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar.gz MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar.lz MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.tar.xz MultiMC-3fabb11f4c59baffb14db00d338d9efe342e277e.zip |
Marginally improve OneSix offline mode launch
While reconstructing assets, skip files that don't exist.
Report missing OneSix native libraries.
Diffstat (limited to 'logic/updater/NotificationChecker.cpp')
-rw-r--r-- | logic/updater/NotificationChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/updater/NotificationChecker.cpp b/logic/updater/NotificationChecker.cpp index b2d67632..191e90a3 100644 --- a/logic/updater/NotificationChecker.cpp +++ b/logic/updater/NotificationChecker.cpp @@ -55,7 +55,7 @@ void NotificationChecker::downloadSucceeded(int) { m_entries.clear(); - QFile file(m_download->m_output_file.fileName()); + QFile file(m_download->getTargetFilepath()); if (file.open(QFile::ReadOnly)) { QJsonArray root = QJsonDocument::fromJson(file.readAll()).array(); |