mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 10:16:34 +01: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:
parent
9f226b9738
commit
cf4daaa37a
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user