Disable OpenGLES renderer menu option on windows
As the OpenGLES doesn't (yet) work on Windows, disable the option.
This commit is contained in:
@@ -221,6 +221,11 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
ui->actionChange_contrast_for_monochrome_display->setChecked(true);
|
||||
}
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
/* qt opengles doesn't work (yet?) so hide the menu option */
|
||||
ui->actionHardware_Renderer_OpenGL_ES->setVisible(false);
|
||||
#endif
|
||||
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
ui->gles->setFocusPolicy(Qt::NoFocus);
|
||||
ui->sw->setFocusPolicy(Qt::NoFocus);
|
||||
|
Reference in New Issue
Block a user