From 617589d09c4886be63f8b55a0322c623538dafdd Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Thu, 27 Apr 2023 13:25:57 +0800 Subject: [PATCH] fix:unified the cache/directory supplement to a82ce2a86f4f374b9b752706fe35709376b8e94e --- src/ui/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index 04162787..a57dcd9c 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -1423,7 +1423,7 @@ void MainWindow::setupNetworkCache( int maxSize ) articleNetMgr.setCache( diskCache ); webEngineProfile->setCachePath( cacheDirectory ); - webEngineProfile->setPersistentStoragePath( QStandardPaths::writableLocation( QStandardPaths::AppDataLocation ) ); + webEngineProfile->setPersistentStoragePath( cacheDirectory ); } void MainWindow::makeDictionaries()