modif export + automatisation + fonction qui centralise tout les exports

This commit is contained in:
p2405951
2025-06-20 16:08:32 +02:00
parent 0ca9c535c5
commit 105f1a6918
13 changed files with 624 additions and 122 deletions
+2 -2
View File
@@ -51,10 +51,10 @@ QList<Step> Path::getStep() const
}
Path::Path(QFile *file){
/*if (!file->open(QIODevice::ReadOnly)) {
if (!file->open(QIODevice::ReadOnly)) {
qWarning() << "Could not open file:" << file->errorString();
return;
}*/
}
QByteArray data = file->readAll();
file->close();
QJsonDocument doc = QJsonDocument::fromJson(data);