From 6be59b53f1a2435596838e85a74cb6543fc584f3 Mon Sep 17 00:00:00 2001 From: flow Date: Sun, 21 Aug 2022 13:04:48 -0300 Subject: feat: add eternal cache entries Those are entries that don't get stale over time, so we don't invalidate them if they 'expire'. Signed-off-by: flow --- launcher/net/Download.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launcher/net/Download.h') diff --git a/launcher/net/Download.h b/launcher/net/Download.h index 1d264381..3faa5db5 100644 --- a/launcher/net/Download.h +++ b/launcher/net/Download.h @@ -49,7 +49,7 @@ class Download : public NetAction { public: using Ptr = shared_qobject_ptr; - enum class Option { NoOptions = 0, AcceptLocalFiles = 1 }; + enum class Option { NoOptions = 0, AcceptLocalFiles = 1, MakeEternal = 2 }; Q_DECLARE_FLAGS(Options, Option) protected: -- cgit