summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 6c3801da..37e0027d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -286,6 +286,10 @@ MainWindow::MainWindow(Settings &settings
QWebEngineProfile::defaultProfile()->setCachePath(settings.paths().cache());
QWebEngineProfile::defaultProfile()->setPersistentStoragePath(settings.paths().cache());
+ // qt resets the thread name somewhere within the QWebEngineProfile calls
+ // above
+ MOShared::SetThisThreadName("main");
+
ui->setupUi(this);
languageChange(settings.interface().language());
ui->statusBar->setup(ui, settings);