modif export + automatisation + fonction qui centralise tout les exports
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user