[Gui] Qt6 OpenGLWidget - move black rectangle off screen (#16863)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user