X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVISUGUI%2FVisuGUI_CutLinesDlg.cxx;fp=src%2FVISUGUI%2FVisuGUI_CutLinesDlg.cxx;h=6e3d7246605a09a44a30a9a29f7306c6d4abe73e;hb=e1172d53cbea7b6659d35bf48ae3f37489fe5f1e;hp=8bb166b64b0cfc33261c4613644355d3465bbe13;hpb=bad971fe75b298d6cc65f28f074eda0f1d4ba900;p=modules%2Fvisu.git diff --git a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx index 8bb166b6..6e3d7246 100644 --- a/src/VISUGUI/VisuGUI_CutLinesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutLinesDlg.cxx @@ -43,18 +43,13 @@ using namespace std; bool VisuGUI_CutLinesDlg::MYGenerateTable = true; bool VisuGUI_CutLinesDlg::MYGenerateCurve = true; -VisuGUI_CutLinesDlg::VisuGUI_CutLinesDlg (SalomeApp_Module* theModule, - bool theIsCreation, bool theIsModal) - : QDialog(VISU::GetDesktop(theModule), "VisuGUI_CutLinesDlg", theIsModal, +VisuGUI_CutLinesDlg::VisuGUI_CutLinesDlg (SalomeApp_Module* theModule) + : QDialog(VISU::GetDesktop(theModule), "VisuGUI_CutLinesDlg", true, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu), myPreviewActor(0) { - if (!theIsModal) { - setWFlags(getWFlags() | WDestructiveClose); - } setCaption("Cut Lines Definition"); setSizeGripEnabled(true); - myIsCreation = theIsCreation; QVBoxLayout* aMainLayout = new QVBoxLayout (this, 7, 6); aMainLayout->setSpacing(5);