mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:59:20 +02:00
Don't call parseSnapshotData() in a static manner.
Shouldn't call non-static methods in a static manner. (Some compilers don't even allow this, although apparently Visual Studio 2017 does.)
This commit is contained in:
parent
3c081c4bf8
commit
d8ea47b78f
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