From 189ab38641d093ef1a987a985c3bbbe757118360 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 17 Oct 2019 10:54:12 +0200 Subject: macOS: Remove workaround for bug that was fixed in Qt 5.9.2 Removing the dummy OpenGL widget gets rid of flicker and scaling issues when moving between monitors with different DPI. Fixes: QTCREATORBUG-23064 Change-Id: I2373862244353b545e8756afe294f9beeefda422 Reviewed-by: Christian Stenger --- src/plugins/welcome/welcomeplugin.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index 88a8a1ace4..0b54b19b46 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -53,7 +53,6 @@ #include #include #include -#include #include #include #include @@ -353,12 +352,6 @@ WelcomeMode::WelcomeMode() layout->addWidget(new StyledBar(m_modeWidget)); layout->addItem(hbox); - if (Utils::HostOsInfo::isMacHost()) { // workaround QTBUG-61384 - auto openglWidget = new QOpenGLWidget; - openglWidget->hide(); - layout->addWidget(openglWidget); - } - setWidget(m_modeWidget); } -- cgit v1.2.1