Salome HOME
Create LICENSE
[modules/jobmanager.git] / src / genericgui / BL_QModelManager.cxx
index 8de8bb54a135d88be2f0e87cf9fa49c885ddbb8d..900258b91a4aba1f92a90f36490e5c7882967f01 100644 (file)
@@ -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 <QStandardItemModel>
+
 #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");