mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Remove window help button from dialogs
This commit is contained in:
@@ -50,6 +50,8 @@ EnvironmentEditor::EnvironmentEditor(QWidget *parent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
auto commitLambda = [this](QKeyEvent *event) {
|
||||
if(event->key() == Qt::Key_Return || event->key() == Qt::Key_Enter)
|
||||
on_addUpdate_clicked();
|
||||
|
||||
Reference in New Issue
Block a user