diff options
| author | Mat M <mathew1800@gmail.com> | 2019-03-04 19:32:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-04 19:32:35 -0500 |
| commit | f2cbb8b82a573b18dbacb53f08b868ae816fcc33 (patch) | |
| tree | 30245a598ddb5a34e1fe898d4dd8f1f0333141b9 /Source/Core | |
| parent | 147f7ca3213aef22dfe45bfab86e2d221aa248bf (diff) | |
| parent | 86d036ec4bded3efcc831426f96a356e1c29fd92 (diff) | |
Merge pull request #7855 from Techjar/modal-dialog-whatsthis
Qt: Remove "What's this?" button from modal message boxes
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/QtUtils/ModalMessageBox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/QtUtils/ModalMessageBox.cpp b/Source/Core/DolphinQt/QtUtils/ModalMessageBox.cpp index 25d10de729..a1232bc0e3 100644 --- a/Source/Core/DolphinQt/QtUtils/ModalMessageBox.cpp +++ b/Source/Core/DolphinQt/QtUtils/ModalMessageBox.cpp @@ -9,6 +9,7 @@ ModalMessageBox::ModalMessageBox(QWidget* parent) : QMessageBox(parent) { setWindowModality(Qt::WindowModal); + setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); // No parent is still preferable to showing a hidden parent here. if (parent != nullptr && !parent->isVisible()) |
