X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fgenericgui%2FBL_QModelManager.cxx;h=900258b91a4aba1f92a90f36490e5c7882967f01;hb=HEAD;hp=8de8bb54a135d88be2f0e87cf9fa49c885ddbb8d;hpb=4fac8e2af6a10a02e4bd4dce67c6138d5d25dc23;p=modules%2Fjobmanager.git diff --git a/src/genericgui/BL_QModelManager.cxx b/src/genericgui/BL_QModelManager.cxx index 8de8bb5..900258b 100644 --- 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");