mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:56:43 +02:00
Need to open the temporary file in order to get the path.
This commit is contained in:
parent
02c757c940
commit
b7e91e4fff
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ bool ModelUploader::zip() {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fst = new QTemporaryFile(this);
|
fst = new QTemporaryFile(this);
|
||||||
|
fst->open(QFile::WriteOnly);
|
||||||
fbxFile = filename;
|
fbxFile = filename;
|
||||||
basePath = QFileInfo(filename).path();
|
basePath = QFileInfo(filename).path();
|
||||||
mapping.insert(FILENAME_FIELD, QFileInfo(filename).fileName());
|
mapping.insert(FILENAME_FIELD, QFileInfo(filename).fileName());
|
||||||
|
|
Loading…
Reference in a new issue