From cb99d23784ccc7fc6019d9299145826d65a28409 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 2 Sep 2019 15:06:10 +0300 Subject: [PATCH] Issue #3007: Remove Help button from the dialog title --- src/XGUI/XGUI_ErrorDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_ErrorDialog.cpp b/src/XGUI/XGUI_ErrorDialog.cpp index 27b2c0e40..d3ec48102 100644 --- a/src/XGUI/XGUI_ErrorDialog.cpp +++ b/src/XGUI/XGUI_ErrorDialog.cpp @@ -30,7 +30,8 @@ #include XGUI_ErrorDialog::XGUI_ErrorDialog(QWidget* parent) - : QDialog(parent) + : QDialog(parent, Qt::CustomizeWindowHint | Qt::WindowTitleHint | + Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint) { QVBoxLayout* aDlgLay = new QVBoxLayout(this); setWindowTitle(tr("Application errors")); -- 2.30.2