diff --git a/core/app/main/main.cpp b/core/app/main/main.cpp --- a/core/app/main/main.cpp +++ b/core/app/main/main.cpp @@ -75,6 +75,10 @@ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); #endif +#ifdef HAVE_QWEBENGINE + app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); +#endif + // if we have some local breeze icon resource, prefer it DXmlGuiWindow::setupIconTheme(); diff --git a/core/showfoto/main/main.cpp b/core/showfoto/main/main.cpp --- a/core/showfoto/main/main.cpp +++ b/core/showfoto/main/main.cpp @@ -61,6 +61,10 @@ app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); #endif +#ifdef HAVE_QWEBENGINE + app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); +#endif + // if we have some local breeze icon resource, prefer it DXmlGuiWindow::setupIconTheme();