From 4acc0a25e0dfbb9fa4cccd8a1ec781f83cea2153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 3 Mar 2023 07:36:30 +0100 Subject: [PATCH] Fixed DEM cache size configuration --- src/data/dem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/dem.cpp b/src/data/dem.cpp index 1011f216..5127dcac 100644 --- a/src/data/dem.cpp +++ b/src/data/dem.cpp @@ -96,7 +96,7 @@ QString DEM::fileName(const QString &baseName) void DEM::setCacheSize(int size) { - _data.setMaxCost(size); + _data.setMaxCost(size * 1024); } void DEM::setDir(const QString &path)