Use the configured cache size
This commit is contained in:
parent
f4566d3aca
commit
555ed62e1c
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ DanbooruMainWindow::DanbooruMainWindow(QWidget *parent)
|
||||||
qRegisterMetaType<DanbooruPost::Rating>();
|
qRegisterMetaType<DanbooruPost::Rating>();
|
||||||
|
|
||||||
// TODO Configurable
|
// TODO Configurable
|
||||||
m_cache = new KImageCache(qApp->applicationName(), 20000000);
|
m_cache = new KImageCache(qApp->applicationName(), DanbooruSettings::self()->cacheSize());
|
||||||
m_service->setImageCache(m_cache);
|
m_service->setImageCache(m_cache);
|
||||||
|
|
||||||
// Set up declarative bindings for the QQuickWidget
|
// Set up declarative bindings for the QQuickWidget
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue