mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +02:00
Fixes
This commit is contained in:
parent
1db6d0e3c1
commit
35365f9157
2 changed files with 2 additions and 4 deletions
|
@ -25,8 +25,7 @@
|
||||||
|
|
||||||
using namespace recording;
|
using namespace recording;
|
||||||
|
|
||||||
static const QString HFR_EXTENSION = ".hfr";
|
static const QString HFR_EXTENSION = "hfr";
|
||||||
const QString URL_SCHEME_ATP = "atp";
|
|
||||||
|
|
||||||
RecordingScriptingInterface::RecordingScriptingInterface() {
|
RecordingScriptingInterface::RecordingScriptingInterface() {
|
||||||
_player = DependencyManager::get<Deck>();
|
_player = DependencyManager::get<Deck>();
|
||||||
|
@ -208,7 +207,7 @@ bool RecordingScriptingInterface::saveRecordingToAsset(QScriptValue getClipAtpUr
|
||||||
clip_atp_url = QString("%1:%2.%3").arg(URL_SCHEME_ATP, hash, upload->getExtension());
|
clip_atp_url = QString("%1:%2.%3").arg(URL_SCHEME_ATP, hash, upload->getExtension());
|
||||||
upload->deleteLater();
|
upload->deleteLater();
|
||||||
} else {
|
} else {
|
||||||
AssetUploadDialogFactory::getInstance().handleUploadFinished(upload, hash);
|
qDebug() << "Error during the Asset upload.";
|
||||||
}
|
}
|
||||||
|
|
||||||
QScriptValueList args;
|
QScriptValueList args;
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include <QtScript/QScriptValue>
|
#include <QtScript/QScriptValue>
|
||||||
#include <AssetClient.h>
|
#include <AssetClient.h>
|
||||||
#include <AssetUpload.h>
|
#include <AssetUpload.h>
|
||||||
#include "../../../interface/src/ui/AssetUploadDialogFactory.h"
|
|
||||||
|
|
||||||
class RecordingScriptingInterface : public QObject, public Dependency {
|
class RecordingScriptingInterface : public QObject, public Dependency {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Reference in a new issue