Skip to content

Commit

Permalink
correction : enregistrer orientation en type 'int'
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcima committed Oct 21, 2018
1 parent 8fcff16 commit a6a130f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/model/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ bool Scene::save(QFile &sceneFile)

QJsonObject objSound;
objSound["name"] = QString::fromStdString(sound->name);
objSound["orientation"] = QString::number(sv->getOrientation());
objSound["orientation"] = (int)sv->getOrientation();
objSound["height"] = sv->getHeight();
objSound["width"] = sv->getWidth();
objSound["x"] = sv->getX();
Expand Down

0 comments on commit a6a130f

Please sign in to comment.