From 6acfbabdd390563add1236ab4d8737d3a7943195 Mon Sep 17 00:00:00 2001 From: Paul Johnson Date: Tue, 10 Feb 2026 16:36:26 +0000 Subject: [PATCH] Fix the WebEgine data path warning (#4824) --- src/Gui/MainWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 19e1f2a1d..9d945ece8 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -1981,6 +1981,11 @@ MainWindow::loadCompleted(QString name, Context *context) // clear splash - progress whilst loading tab //clearSplash(); + // setup the WebEngine paths + QString temp = const_cast(context->athlete->directoryStructure())->temp().absolutePath(); + context->webEngineProfile->setCachePath(temp); + context->webEngineProfile->setPersistentStoragePath(temp); + // first tab athletetabs.insert(currentAthleteTab->context->athlete->home->root().dirName(), currentAthleteTab);