final constructeur (copie) step

This commit is contained in:
p2405951
2025-06-19 10:22:43 +02:00
parent 016927b34a
commit 96321942f0
4 changed files with 13 additions and 12 deletions
+8 -1
View File
@@ -41,4 +41,11 @@ Path::Path(QFile *file){
}
void Path::addStep(int indice){step.insert(indice, Step());}
void Path::addStep(int indice){
if(indice==-1){
step.append(Step());
}else{
step.insert(indice, Step());
}
}