forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user