]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
Bring back the close (X) button to the SalomeResource dialog box.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 23 Jan 2018 16:21:52 +0000 (17:21 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 23 Jan 2018 16:21:52 +0000 (17:21 +0100)
src/genericgui/JM_SalomeResource.cxx

index a3f0074c3485c76b8fa6d68c1067a41c86bc839c..bd5ba6d827270d3e964a126a3d90a7a2775a90c7 100644 (file)
@@ -29,7 +29,8 @@
 #include <QVBoxLayout>
 
 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);