Qt: Don't show the Qt "What's this" button

This commit is contained in:
Starsam80
2017-06-29 18:52:53 -06:00
parent 898bbffaa7
commit ed0ba7ef28
5 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,7 @@ void PerformOnlineUpdate(const std::string& region, QWidget* parent)
UpdateProgressDialog dialog{parent};
dialog.setLabelText(QObject::tr("Preparing to update...\nThis can take a while."));
dialog.setWindowTitle(QObject::tr("Updating"));
dialog.setWindowFlags(dialog.windowFlags() & ~Qt::WindowContextHelpButtonHint);
// QProgressDialog doesn't set its minimum size correctly.
dialog.setMinimumSize(360, 150);