Skip to content

Commit

Permalink
Web: fix storage paths of web content
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 19, 2021
1 parent f4fe2ef commit 18b3c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Web/Gui/BrowserView.cpp
Expand Up @@ -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"));

Expand Down

0 comments on commit 18b3c59

Please sign in to comment.