This commit is contained in:
EdgarPironti 2015-11-20 13:32:55 -08:00
parent 1db6d0e3c1
commit 35365f9157
2 changed files with 2 additions and 4 deletions

View file

@ -25,8 +25,7 @@
using namespace recording;
static const QString HFR_EXTENSION = ".hfr";
const QString URL_SCHEME_ATP = "atp";
static const QString HFR_EXTENSION = "hfr";
RecordingScriptingInterface::RecordingScriptingInterface() {
_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());
upload->deleteLater();
} else {
AssetUploadDialogFactory::getInstance().handleUploadFinished(upload, hash);
qDebug() << "Error during the Asset upload.";
}
QScriptValueList args;

View file

@ -21,7 +21,6 @@
#include <QtScript/QScriptValue>
#include <AssetClient.h>
#include <AssetUpload.h>
#include "../../../interface/src/ui/AssetUploadDialogFactory.h"
class RecordingScriptingInterface : public QObject, public Dependency {
Q_OBJECT