mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fix the WebEgine data path warning (#4824)
This commit is contained in:
@@ -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<AthleteDirectoryStructure*>(context->athlete->directoryStructure())->temp().absolutePath();
|
||||
context->webEngineProfile->setCachePath(temp);
|
||||
context->webEngineProfile->setPersistentStoragePath(temp);
|
||||
|
||||
// first tab
|
||||
athletetabs.insert(currentAthleteTab->context->athlete->home->root().dirName(), currentAthleteTab);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user