From: vsv Date: Mon, 2 Sep 2019 12:06:10 +0000 (+0300) Subject: Issue #3007: Remove Help button from the dialog title X-Git-Tag: VEDF2019Lot4~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb99d23784ccc7fc6019d9299145826d65a28409;p=modules%2Fshaper.git Issue #3007: Remove Help button from the dialog title --- 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"));