[Gui] Qt6 OpenGLWidget - move black rectangle off screen (#16863)

This commit is contained in:
Syres916
2024-09-28 03:50:59 +01:00
committed by GitHub
parent d519f24df9
commit 6e2cd4e733

View File

@@ -397,7 +397,8 @@ MainWindow::MainWindow(QWidget * parent, Qt::WindowFlags f)
// after opening project and prevent issues with double initialization of the window
//
// https://stackoverflow.com/questions/76026196/how-to-force-qt-to-use-the-opengl-window-type
new QOpenGLWidget(this);
auto _OpenGLWidget = new QOpenGLWidget(this);
_OpenGLWidget->move(QPoint(-100,-100));
#endif
// global access