diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-25 01:11:20 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-25 01:12:50 -0500 |
| commit | aeada1616aeb30380e8857dceb86582b5bd7aaab (patch) | |
| tree | f7d728acfb66a08c8e94aecf659bf9c279cb72fb /src/yuzu/util/limitable_input_dialog.cpp | |
| parent | b292986fc58ef5fd2388e94d52c52cec1827ed2f (diff) | |
main: Globally disable the "?" button on dialogs
Sets the AA_DisableWindowContextHelpButton attribute to disable this useless button globally.
Diffstat (limited to 'src/yuzu/util/limitable_input_dialog.cpp')
| -rw-r--r-- | src/yuzu/util/limitable_input_dialog.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/yuzu/util/limitable_input_dialog.cpp b/src/yuzu/util/limitable_input_dialog.cpp index bbb370595b..5f6a9c1934 100644 --- a/src/yuzu/util/limitable_input_dialog.cpp +++ b/src/yuzu/util/limitable_input_dialog.cpp @@ -16,8 +16,6 @@ LimitableInputDialog::LimitableInputDialog(QWidget* parent) : QDialog{parent} { LimitableInputDialog::~LimitableInputDialog() = default; void LimitableInputDialog::CreateUI() { - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); - text_label = new QLabel(this); text_entry = new QLineEdit(this); text_label_invalid = new QLabel(this); |
