Browse Source

Save RSS cache in folder called rss.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
08f96ae7d7
  1. 2
      src/rss/htmlbrowser.cpp

2
src/rss/htmlbrowser.cpp

@ -17,7 +17,7 @@ HtmlBrowser::HtmlBrowser(QWidget* parent) @@ -17,7 +17,7 @@ HtmlBrowser::HtmlBrowser(QWidget* parent)
{
m_netManager = new QNetworkAccessManager(this);
m_diskCache = new QNetworkDiskCache(this);
m_diskCache->setCacheDirectory(QDir::cleanPath(fsutils::cacheLocation() + "/browser"));
m_diskCache->setCacheDirectory(QDir::cleanPath(fsutils::cacheLocation() + "/rss"));
m_diskCache->setMaximumCacheSize(50 * 1024 * 1024);
qDebug() << "HtmlBrowser cache path:" << m_diskCache->cacheDirectory() << " max size:" << m_diskCache->maximumCacheSize() / 1024 / 1024 << "MB";
m_netManager->setCache(m_diskCache);

Loading…
Cancel
Save