1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

[Qt5] Fixed crash when using network cache from Qt 4

Network cache is now saved  in %WEBKITVERSION%-Qt%QTVERSION%
subdirectory.
This commit is contained in:
nowrep 2013-02-26 11:58:38 +01:00
parent 9f226b9738
commit cf4daaa37a
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ Version 1.4.0
* improved showing navigation toolbar in fullscreen
* moved config directory into ~/.config/qupzilla
* certificates bundle is now only used on windows
* reduced memory usage of AdBlock (saves up to 30MB with just EasyList)
* GreaseMonkey: reload script if source file changed on disk
* GreaseMonkey: fixed don't loading invalid scripts
* fixed opening browser with url with ampersand (%26) as command line argument

View File

@ -876,7 +876,7 @@ QNetworkDiskCache* MainApplication::networkCache()
const QString &basePath = settings.value("Web-Browser-Settings/CachePath",
QString("%1networkcache/").arg(m_activeProfil)).toString();
const QString &cachePath = basePath + "/" + qWebKitVersion() + "/";
const QString &cachePath = QString("%1/%2-Qt%3/").arg(basePath, qWebKitVersion(), qVersion());
m_networkCache = new QNetworkDiskCache(this);
m_networkCache->setCacheDirectory(cachePath);
}