summaryrefslogtreecommitdiff
path: root/src/plugins/welcome
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-10-17 10:54:12 +0200
committerEike Ziller <eike.ziller@qt.io>2019-10-21 07:32:34 +0000
commit189ab38641d093ef1a987a985c3bbbe757118360 (patch)
treeaeab186c0b67f419bb5b51d2a343b1442fa1a728 /src/plugins/welcome
parent708179285de9f58e8578b72f7320c37b6252c45f (diff)
downloadqt-creator-189ab38641d093ef1a987a985c3bbbe757118360.tar.gz
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 <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/welcome')
-rw-r--r--src/plugins/welcome/welcomeplugin.cpp7
1 files changed, 0 insertions, 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 <QHeaderView>
#include <QLabel>
#include <QMouseEvent>
-#include <QOpenGLWidget>
#include <QPainter>
#include <QScrollArea>
#include <QStackedWidget>
@@ -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);
}