From: apo Date: Thu, 9 Feb 2006 13:20:16 +0000 (+0000) Subject: To apply WDestructiveClose widget flag to the nonmodal dialog X-Git-Tag: mergeto_trunk_13Mar06~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=72c07c7bf79019ab5339bcdb44171ab858b908ab;p=modules%2Fvisu.git To apply WDestructiveClose widget flag to the nonmodal dialog --- diff --git a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx index 7705f32d..99bea913 100644 --- a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx +++ b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx @@ -48,7 +48,10 @@ * Constructor */ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): - QDialog( theParent, "VisuGUI_BuildProgressBar", false ), + QDialog( theParent, + "VisuGUI_BuildProgressBar", + false, + WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose), myIsRaiseColor( false ) { setCaption( tr( "DLG_BUILD_PROGRESS_TITLE" ) );