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

@ -13,6 +13,7 @@
AboutDialog::AboutDialog(QWidget* parent) : QDialog(parent)
{
setWindowTitle(tr("About Dolphin"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setAttribute(Qt::WA_DeleteOnClose);
QString text = QStringLiteral("");