Showing the changes to interface/src/scripting/AssetMappingsScriptingInterface.cpp (1 of 42 files). Show all
Unified · Split
| @@ -127,7 +127,7 @@ void AssetMappingsScriptingInterface::uploadFile(QString path, QString mapping, · 126 unmodified lines | ||
| 127 | 127 | }); |
| 128 | 128 | |
| 129 | 129 | auto upload = DependencyManager::get<AssetClient>()->createUpload(path); |
| 130 | − QObject::connect(upload, &AssetUpload::finished, this, [=](AssetUpload* upload, const QString& hash) mutable { | |
| 130 | + QObject::connect(upload, &AssetUpload::finished, this, [=, this](AssetUpload* upload, const QString& hash) mutable { | |
| 131 | 131 | if (upload->getError() != AssetUpload::NoError) { |
| 132 | 132 | if (completedCallback.isCallable()) { |
| 133 | 133 | QJSValueList args { upload->getErrorString() }; |