mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-10 10:34:56 +02:00
fix UUID getter to match the private variable
This commit is contained in:
parent
f878b17798
commit
49b72370be
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ static void mongooseUploadHandler(struct mg_connection *conn, const char *path)
|
|||
QString newPath(ASSIGNMENT_SCRIPT_HOST_LOCATION);
|
||||
newPath += "/";
|
||||
// append the UUID for this script as the new filename, remove the curly braces
|
||||
newPath += scriptAssignment.getGUID().toString().mid(1, scriptAssignment.getGUID().toString().length() - 2);
|
||||
newPath += scriptAssignment.getUUID().toString().mid(1, scriptAssignment.getUUID().toString().length() - 2);
|
||||
|
||||
// rename the saved script to the GUID of the assignment and move it to the script host locaiton
|
||||
rename(path, newPath.toStdString().c_str());
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
~Assignment();
|
||||
|
||||
const QUuid& getGUID() const { return _uuid; }
|
||||
const QUuid& getUUID() const { return _uuid; }
|
||||
Assignment::Command getCommand() const { return _command; }
|
||||
Assignment::Type getType() const { return _type; }
|
||||
Assignment::Location getLocation() const { return _location; }
|
||||
|
|
Loading…
Reference in a new issue