Web: fix storage paths of web content

This commit is contained in:
wmayer
2021-12-19 17:37:57 +01:00
committed by Uwe
parent 16ee414987
commit b4e58cea01
+1 -1
View File
@@ -434,7 +434,7 @@ BrowserView::BrowserView(QWidget* parent)
// QWebEngine doesn't support direct access to network
// nor rendering access
QWebEngineProfile *profile = view->page()->profile();
QString basePath = QLatin1String(App::Application::getUserAppDataDir().c_str()) + QLatin1String("webdata");
QString basePath = QString::fromStdString(App::Application::getUserAppDataDir()) + QLatin1String("webdata/");
profile->setPersistentStoragePath(basePath + QLatin1String("persistent"));
profile->setCachePath(basePath + QLatin1String("cache"));