X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMFile.cpp;h=dcafc8e1c8e0995babff83ef93376d0e6d294f69;hb=37ce00fd14679d7e7bf61cd5e7b5ba9919319387;hp=3f92ffe9b29a2a81e43b41db285c0860092ff0be;hpb=311bdcc514f85386f3bbbef9ff6a88bf69fd930f;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMFile.cpp b/lib/creaDevManagerLib/modelCDMFile.cpp index 3f92ffe..dcafc8e 100644 --- a/lib/creaDevManagerLib/modelCDMFile.cpp +++ b/lib/creaDevManagerLib/modelCDMFile.cpp @@ -44,9 +44,10 @@ modelCDMFile::modelCDMFile() { } -modelCDMFile::modelCDMFile(const std::string& path, const std::string& name, const int& level) +modelCDMFile::modelCDMFile(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name, const int& level) { std::cout << "creating file: " + path + "\n"; + this->parent = parent; this->children.clear(); this->level = level; this->name = name;