Need to open the temporary file in order to get the path.

This commit is contained in:
Andrzej Kapolka 2014-05-01 16:27:50 -07:00
parent 02c757c940
commit b7e91e4fff

View file

@ -127,6 +127,7 @@ bool ModelUploader::zip() {
}
} else {
fst = new QTemporaryFile(this);
fst->open(QFile::WriteOnly);
fbxFile = filename;
basePath = QFileInfo(filename).path();
mapping.insert(FILENAME_FIELD, QFileInfo(filename).fileName());