diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-28 04:17:16 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-28 04:17:16 -0500 |
| commit | 462ea08c348b6c524691e435ea7fb911ffd2367e (patch) | |
| tree | ea8cdf4a40fd463a4304e31d116ede6c66bf948d /src/mainwindow.cpp | |
| parent | 3c62a048da24ae58d5d9d490914ba9e8dbdc89f0 (diff) | |
fixed warning about ini files with utf8 bom
fixed main thread name still getting clobbered by QWebEngine
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
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); |
