fix UUID getter to match the private variable

This commit is contained in:
Stephen Birarda 2013-09-12 17:08:06 -07:00
parent f878b17798
commit 49b72370be
2 changed files with 2 additions and 2 deletions

View file

@ -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());

View file

@ -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; }