aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-01-08 20:46:56 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-01-08 11:12:14 +0100
commitb6bd6f442ac95376d78a14b3f503cb065781a5a5 (patch)
treeb33b7ff82c4079ceadca65fe6c2c5da0b0c62cb8 /src/main.cpp
parent35756f7a1b49f8d7aa603dd3bbe3c0a2c2d234a6 (diff)
downloadkristall-b6bd6f442ac95376d78a14b3f503cb065781a5a5.tar.gz
Functional cache limit, albeit a little inefficient
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a776a80..19326e2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -369,8 +369,8 @@ void GenericSettings::load(QSettings &settings)
enable_home_btn = settings.value("enable_home_btn", false).toBool();
- cache_limit = settings.value("cache_limit", 100).toInt();
- cache_threshold = settings.value("cache_threshold", 200).toInt();
+ cache_limit = settings.value("cache_limit", 1000).toInt();
+ cache_threshold = settings.value("cache_threshold", 125).toInt();
cache_life = settings.value("cache_life", 15).toInt();
}