return FindEntryWithComment(myStudyDocument,GetEntry().c_str(),theComment.c_str());
}
-
+#include <stdio.h>
//---------------------------------------------------------------
VISU::Result_i
::~Result_i()
if (mySourceId == eRestoredFile) {
static QString aCommand;
aCommand.sprintf("rm %s",myFileInfo.filePath().latin1());
- MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<system(aCommand));
+ int res = system(aCommand);
+ MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<res);
aCommand.sprintf("rmdir --ignore-fail-on-non-empty %s",myFileInfo.dirPath().latin1());
- MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<system(aCommand));
+ res = system(aCommand);
+ MESSAGE("Result_i::~Result_i - system("<<aCommand<<") = "<<res);
}
if(myInput) delete myInput;
}