summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2019-03-04 19:32:35 -0500
committerGitHub <noreply@github.com>2019-03-04 19:32:35 -0500
commitf2cbb8b82a573b18dbacb53f08b868ae816fcc33 (patch)
tree30245a598ddb5a34e1fe898d4dd8f1f0333141b9 /Source/Core
parent147f7ca3213aef22dfe45bfab86e2d221aa248bf (diff)
parent86d036ec4bded3efcc831426f96a356e1c29fd92 (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.cpp1
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())