NOISSUE Some happy little refactors
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Petr Mrázek
					Petr Mrázek