diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-26 12:51:56 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-26 12:51:56 +0200 |
commit | db56c75da769d0c749371dc38a62143e21e9485e (patch) | |
tree | 313dccd70cb867fe09facf73ccbf6009ab547284 /src/networkmanager.cpp | |
parent | New Clear Private Data action (diff) | |
download | rekonq-db56c75da769d0c749371dc38a62143e21e9485e.tar.xz |
Fixed clear private data
Hopefully..
Diffstat (limited to 'src/networkmanager.cpp')
-rw-r--r-- | src/networkmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/networkmanager.cpp b/src/networkmanager.cpp index 3d6df204..ab974b60 100644 --- a/src/networkmanager.cpp +++ b/src/networkmanager.cpp @@ -112,8 +112,8 @@ void NetworkAccessManager::resetDiskCache() else { QString location = m_diskCache->cacheDirectory(); -// setCache(0); -// delete m_diskCache; + setCache(0); + delete m_diskCache; QDir cacheDir(location + QString("/http") ); QStringList fileList = cacheDir.entryList(); @@ -123,9 +123,9 @@ void NetworkAccessManager::resetDiskCache() file.remove(); } -// m_diskCache = new QNetworkDiskCache(this); -// m_diskCache->setCacheDirectory(location); -// setCache(m_diskCache); + m_diskCache = new QNetworkDiskCache(this); + m_diskCache->setCacheDirectory(location); + setCache(m_diskCache); } } |