]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3007: Remove Help button from the dialog title
authorvsv <vsv@opencascade.com>
Mon, 2 Sep 2019 12:06:10 +0000 (15:06 +0300)
committervsv <vsv@opencascade.com>
Mon, 2 Sep 2019 12:06:10 +0000 (15:06 +0300)
src/XGUI/XGUI_ErrorDialog.cpp

index 27b2c0e408db7091ddc719e0d8883b835b50b1d2..d3ec481022c29575a9ae4a8d2270eaee1db33032 100644 (file)
@@ -30,7 +30,8 @@
 #include <QTextCodec>
 
 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"));