X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgenericgui%2FBL_QModelManager.cxx;h=900258b91a4aba1f92a90f36490e5c7882967f01;hb=HEAD;hp=8de8bb54a135d88be2f0e87cf9fa49c885ddbb8d;hpb=ab9701f6df795114320806eafcf2071053f10e2f;p=modules%2Fjobmanager.git diff --git a/src/genericgui/BL_QModelManager.cxx b/src/genericgui/BL_QModelManager.cxx old mode 100755 new mode 100644 index 8de8bb5..900258b --- a/src/genericgui/BL_QModelManager.cxx +++ b/src/genericgui/BL_QModelManager.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2009-2014 CEA/DEN, EDF R&D +// Copyright (C) 2009-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -20,6 +20,8 @@ #include "BL_QModelManager.hxx" #include "BL_JobsManager_QT.hxx" +#include + #ifdef WNT #undef ERROR #endif @@ -62,6 +64,8 @@ BL::QModelManager::new_job_added(const QString & name) new_job_type = new QStandardItem("YACS_Schema"); else if (job->getType() == BL::Job::COMMAND) new_job_type = new QStandardItem("Command"); + else if (job->getType() == BL::Job::COMMAND_SALOME) + new_job_type = new QStandardItem("Command_Salome"); else if (job->getType() == BL::Job::PYTHON_SALOME) new_job_type = new QStandardItem("Python_Salome");