From 72c07c7bf79019ab5339bcdb44171ab858b908ab Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 9 Feb 2006 13:20:16 +0000 Subject: [PATCH] To apply WDestructiveClose widget flag to the nonmodal dialog --- src/VISUGUI/VisuGUI_BuildProgressDlg.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" ) ); -- 2.39.2