summaryrefslogtreecommitdiff
path: root/src/settingsdialog.ui
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-02-05 22:38:46 -0600
committerSilarn <jrim@rimpo.org>2019-02-18 21:31:20 -0600
commit8bc9db23d98ae454899791af9e0fbc0bab4d0b15 (patch)
tree372f10f58879b6726e777ff4e295a7461f880a38 /src/settingsdialog.ui
parenteb575e2f92e00e32220e7aa8efaf14ece462c981 (diff)
Add settings option to switch between fixed and dynamic cache timeouts
Diffstat (limited to 'src/settingsdialog.ui')
-rw-r--r--src/settingsdialog.ui10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui
index 127c94c7..cfbcf429 100644
--- a/src/settingsdialog.ui
+++ b/src/settingsdialog.ui
@@ -578,6 +578,16 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
+ <item row="1" column="1">
+ <widget class="QCheckBox" name="updateStrategy">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Rather than a global &lt;span style=&quot; font-weight:600;&quot;&gt;1 day&lt;/span&gt; cache, update caches will expire at different rates depending on how recently a mod has been updated on Nexus.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;Less than a month: &lt;span style=&quot; font-style:italic;&quot;&gt;2 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Less than three months: &lt;span style=&quot; font-style:italic;&quot;&gt;4 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Less than six months: &lt;span style=&quot; font-style:italic;&quot;&gt;6 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Less than one year: &lt;span style=&quot; font-style:italic;&quot;&gt;12 hours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;More than one year: &lt;span style=&quot; font-style:italic;&quot;&gt;1 day&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Use dynamic update timeouts</string>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
<item>