aboutsummaryrefslogtreecommitdiff
path: root/launcher/notifications/NotificationChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/notifications/NotificationChecker.cpp')
-rw-r--r--launcher/notifications/NotificationChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/notifications/NotificationChecker.cpp b/launcher/notifications/NotificationChecker.cpp
index 8209c28b..4ccd3d6c 100644
--- a/launcher/notifications/NotificationChecker.cpp
+++ b/launcher/notifications/NotificationChecker.cpp
@@ -53,7 +53,7 @@ void NotificationChecker::checkForNotifications()
return;
}
m_checkJob.reset(new NetJob("Checking for notifications"));
- auto entry = ENV.metacache()->resolveEntry("root", "notifications.json");
+ auto entry = ENV->metacache()->resolveEntry("root", "notifications.json");
entry->setStale(true);
m_checkJob->addNetAction(m_download = Net::Download::makeCached(m_notificationsUrl, entry));
connect(m_download.get(), &Net::Download::succeeded, this, &NotificationChecker::downloadSucceeded);