fix:unified the cache/directory

supplement to a82ce2a86f
This commit is contained in:
YiFang Xiao 2023-04-27 13:25:57 +08:00
parent 07d9c63c79
commit 617589d09c

View file

@ -1423,7 +1423,7 @@ void MainWindow::setupNetworkCache( int maxSize )
articleNetMgr.setCache( diskCache ); articleNetMgr.setCache( diskCache );
webEngineProfile->setCachePath( cacheDirectory ); webEngineProfile->setCachePath( cacheDirectory );
webEngineProfile->setPersistentStoragePath( QStandardPaths::writableLocation( QStandardPaths::AppDataLocation ) ); webEngineProfile->setPersistentStoragePath( cacheDirectory );
} }
void MainWindow::makeDictionaries() void MainWindow::makeDictionaries()