Issue #102: Thumbnails page size fix

This commit is contained in:
Jakub Melka
2023-12-29 20:03:38 +01:00
parent acafeb0144
commit 8338d7d85d
2 changed files with 2 additions and 3 deletions

View File

@ -26,7 +26,6 @@
namespace pdfviewer
{
const int PIXMAP_CACHE_LIMIT = QPixmapCache::cacheLimit();
void PDFViewerSettings::setSettings(const PDFViewerSettings::Settings& settings)
{
@ -284,7 +283,7 @@ PDFViewerSettings::Settings::Settings() :
m_allowDeveloperMode(false),
m_multithreadingStrategy(pdf::PDFExecutionPolicy::Strategy::AlwaysMultithreaded),
m_compiledPageCacheLimit(512 * 1024),
m_thumbnailsCacheLimit(PIXMAP_CACHE_LIMIT),
m_thumbnailsCacheLimit(64 * 1024),
m_fontCacheLimit(pdf::DEFAULT_FONT_CACHE_LIMIT),
m_instancedFontCacheLimit(pdf::DEFAULT_REALIZED_FONT_CACHE_LIMIT),
m_speechRate(0.0),