From: Ovidiu Mircescu Date: Tue, 23 Jan 2018 16:21:52 +0000 (+0100) Subject: Bring back the close (X) button to the SalomeResource dialog box. X-Git-Tag: V8_5_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=439580240871b6884f52123029eadb7cc4709b04;p=modules%2Fjobmanager.git Bring back the close (X) button to the SalomeResource dialog box. --- diff --git a/src/genericgui/JM_SalomeResource.cxx b/src/genericgui/JM_SalomeResource.cxx index a3f0074..bd5ba6d 100644 --- a/src/genericgui/JM_SalomeResource.cxx +++ b/src/genericgui/JM_SalomeResource.cxx @@ -29,7 +29,8 @@ #include JM::SalomeResource::SalomeResource(QWidget *parent, BL::SALOMEServices * salome_services, - const std::string & resource_name) : QDialog(parent) + const std::string & resource_name) +: QDialog(parent, Qt::Window) { DEBTRACE("Creating JM::SalomeResource"); BL_ASSERT(parent);