Skip to content
Permalink
Browse files

Qt: Remove "What's this?" button from modal message boxes

  • Loading branch information...
Techjar committed Mar 4, 2019
1 parent 147f7ca commit 86d036ec4bded3efcc831426f96a356e1c29fd92
Showing with 1 addition and 0 deletions.
  1. +1 −0 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())

0 comments on commit 86d036e

Please sign in to comment.
You can’t perform that action at this time.