mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #7855 from Techjar/modal-dialog-whatsthis
Qt: Remove "What's this?" button from modal message boxes
This commit is contained in:
@ -9,6 +9,7 @@
|
|||||||
ModalMessageBox::ModalMessageBox(QWidget* parent) : QMessageBox(parent)
|
ModalMessageBox::ModalMessageBox(QWidget* parent) : QMessageBox(parent)
|
||||||
{
|
{
|
||||||
setWindowModality(Qt::WindowModal);
|
setWindowModality(Qt::WindowModal);
|
||||||
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
// No parent is still preferable to showing a hidden parent here.
|
// No parent is still preferable to showing a hidden parent here.
|
||||||
if (parent != nullptr && !parent->isVisible())
|
if (parent != nullptr && !parent->isVisible())
|
||||||
|
Reference in New Issue
Block a user