From 60721615dd9af2b81dacce06adaa7e31d56eee32 Mon Sep 17 00:00:00 2001 From: Maik Qualmann Date: Sat, 1 Dec 2018 16:34:41 +0100 Subject: fix black Welcome page by clicking on a link REVIEW: D17276 --- core/app/views/welcomepageview_qwebengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/views/welcomepageview_qwebengine.cpp b/core/app/views/welcomepageview_qwebengine.cpp index 2dfe2c6..d4ee8c5 100644 --- a/core/app/views/welcomepageview_qwebengine.cpp +++ b/core/app/views/welcomepageview_qwebengine.cpp @@ -115,7 +115,7 @@ WelcomePageView::~WelcomePageView() void WelcomePageView::slotUrlOpen(const QUrl& url) { - WebBrowserDlg* const browser = new WebBrowserDlg(url, this); + WebBrowserDlg* const browser = new WebBrowserDlg(url, qApp->activeWindow()); browser->show(); } -- cgit v0.11.2