mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Fixed DEM cache size configuration
This commit is contained in:
parent
3f4cc56cbe
commit
4acc0a25e0
@ -96,7 +96,7 @@ QString DEM::fileName(const QString &baseName)
|
|||||||
|
|
||||||
void DEM::setCacheSize(int size)
|
void DEM::setCacheSize(int size)
|
||||||
{
|
{
|
||||||
_data.setMaxCost(size);
|
_data.setMaxCost(size * 1024);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DEM::setDir(const QString &path)
|
void DEM::setDir(const QString &path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user