History

fix implicit this

RTUnreal committed 1 year ago

Commit 86c5f2c1 parent 611faa942 files · +134 −135Browse files

Showing the changes to interface/src/scripting/AssetMappingsScriptingInterface.cpp (1 of 42 files). Show all

Unified · Split

interface/src/scripting/AssetMappingsScriptingInterface.cpp+1−1
@@ -127,7 +127,7 @@ void AssetMappingsScriptingInterface::uploadFile(QString path, QString mapping, · 126 unmodified lines
127127 });
128128
129129 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 {
131131 if (upload->getError() != AssetUpload::NoError) {
132132 if (completedCallback.isCallable()) {
133133 QJSValueList args { upload->getErrorString() };