-// Copyright (C) 2009-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2019 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#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);