Skip to content

Commit e83f076

Browse files
committed
fronted/qt: fix web engine profile for external links
In 00d7607 we switched from the default profile to a dedicated one, to store profile data on disk. This change didn't involve the WebEnginePage used to display external resources (e.g. links in 3rd party widgets) and caused external links not to be displayed because of incompatible profiles. This fixes the issue sharing the same profile also for external pages.
1 parent b7505b4 commit e83f076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontends/qt/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ int main(int argc, char *argv[])
353353
view->adjustSize();
354354
}
355355

356-
externalPage = new QWebEnginePage(view);
357356
profile = new QWebEngineProfile("BitBoxApp");
357+
externalPage = new QWebEnginePage(profile, view);
358358
mainPage = new WebEnginePage(profile);
359359
view->setPage(mainPage);
360360

0 commit comments

Comments
 (0)