From 301c2ff4c85e709ba9fc31e8b95b374957bb4cff Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 19 Dec 2021 16:56:48 +0100 Subject: [PATCH] Web: fix storage paths of web content --- src/Mod/Web/Gui/BrowserView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Web/Gui/BrowserView.cpp b/src/Mod/Web/Gui/BrowserView.cpp index 2c60b5f760..8171ed0562 100644 --- a/src/Mod/Web/Gui/BrowserView.cpp +++ b/src/Mod/Web/Gui/BrowserView.cpp @@ -495,7 +495,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"));