mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Cache size limits update
Allow caches up to 4GB (usefull for 0.5' DEM tiles) Do not allow smaller pixmap cache than 64MB (minimum for async maps to work on 4K displays is ~34MB of tile image data!)
This commit is contained in:
parent
bd37521ca0
commit
7de180d580
@ -727,14 +727,14 @@ QWidget *OptionsDialog::createSystemPage()
|
|||||||
_enableHTTP2->setChecked(_options.enableHTTP2);
|
_enableHTTP2->setChecked(_options.enableHTTP2);
|
||||||
|
|
||||||
_pixmapCache = new QSpinBox();
|
_pixmapCache = new QSpinBox();
|
||||||
_pixmapCache->setMinimum(16);
|
_pixmapCache->setMinimum(64);
|
||||||
_pixmapCache->setMaximum(2048);
|
_pixmapCache->setMaximum(4096);
|
||||||
_pixmapCache->setSuffix(UNIT_SPACE + tr("MB"));
|
_pixmapCache->setSuffix(UNIT_SPACE + tr("MB"));
|
||||||
_pixmapCache->setValue(_options.pixmapCache);
|
_pixmapCache->setValue(_options.pixmapCache);
|
||||||
|
|
||||||
_demCache = new QSpinBox();
|
_demCache = new QSpinBox();
|
||||||
_demCache->setMinimum(64);
|
_demCache->setMinimum(64);
|
||||||
_demCache->setMaximum(2048);
|
_demCache->setMaximum(4096);
|
||||||
_demCache->setSuffix(UNIT_SPACE + tr("MB"));
|
_demCache->setSuffix(UNIT_SPACE + tr("MB"));
|
||||||
_demCache->setValue(_options.demCache);
|
_demCache->setValue(_options.demCache);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user