]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMPackage.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMPackage.cpp
index 044171b9eea1e0ebe5e51f5df480f48af33df96f..c589a8e5fb7206c676fa00231433139d87a3f241 100644 (file)
@@ -51,7 +51,7 @@ modelCDMPackage::modelCDMPackage(const std::string& path, const int& level)
   //TODO::fix for windows
   delimiters = "/";
   CDMUtilities::splitter::split(words, path, delimiters, CDMUtilities::splitter::no_empties);
-  this->name = words[words.size()-1].substr(5, words[words.size()-1].size()-9);
+  this->name = words[words.size()-1];
   this->namePackage = this->name;
   this->level = level;
   this->path = path;