diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-03-26 16:56:57 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-03-27 22:35:06 +0200 |
commit | f032e32133023ed8396fc2b6ead7eadc2816a25b (patch) | |
tree | 10ce52261bf06dd9f000896b4e993fb45cd7e3fc /logic/notifications/NotificationChecker.cpp | |
parent | d587720010036e3335e321f192449808a75e958b (diff) | |
download | PrismLauncher-f032e32133023ed8396fc2b6ead7eadc2816a25b.tar.gz PrismLauncher-f032e32133023ed8396fc2b6ead7eadc2816a25b.tar.bz2 PrismLauncher-f032e32133023ed8396fc2b6ead7eadc2816a25b.zip |
NOISSUE finalize support for new mojang version format
Diffstat (limited to 'logic/notifications/NotificationChecker.cpp')
-rw-r--r-- | logic/notifications/NotificationChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/notifications/NotificationChecker.cpp b/logic/notifications/NotificationChecker.cpp index 4e35cacc..ab2570b7 100644 --- a/logic/notifications/NotificationChecker.cpp +++ b/logic/notifications/NotificationChecker.cpp @@ -54,7 +54,7 @@ void NotificationChecker::checkForNotifications() } m_checkJob.reset(new NetJob("Checking for notifications")); auto entry = ENV.metacache()->resolveEntry("root", "notifications.json"); - entry->stale = true; + entry->setStale(true); m_checkJob->addNetAction(m_download = CacheDownload::make(m_notificationsUrl, entry)); connect(m_download.get(), &CacheDownload::succeeded, this, &NotificationChecker::downloadSucceeded); |