mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:57:27 +02:00
Merge pull request #13400 from kitely/parse-snapshot-fix
Don't call parseSnapshotData() in a static manner
This commit is contained in:
commit
c08df9e39f
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ void Snapshot::uploadSnapshot(const QString& filename, const QUrl& href) {
|
||||||
const QString SNAPSHOT_UPLOAD_URL = "/api/v1/snapshots";
|
const QString SNAPSHOT_UPLOAD_URL = "/api/v1/snapshots";
|
||||||
QUrl url = href;
|
QUrl url = href;
|
||||||
if (url.isEmpty()) {
|
if (url.isEmpty()) {
|
||||||
SnapshotMetaData* snapshotData = Snapshot::parseSnapshotData(filename);
|
SnapshotMetaData* snapshotData = parseSnapshotData(filename);
|
||||||
if (snapshotData) {
|
if (snapshotData) {
|
||||||
url = snapshotData->getURL();
|
url = snapshotData->getURL();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue