mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
don't capture a temporary by reference. Ugh
This commit is contained in:
parent
5184cbe615
commit
f0e87360c1
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void EntityEditFilters::scriptRequestFinished(EntityItemID entityID) {
|
||||||
|
|
||||||
// define the uncaughtException function
|
// define the uncaughtException function
|
||||||
QScriptEngine& engineRef = *engine;
|
QScriptEngine& engineRef = *engine;
|
||||||
filterData.uncaughtExceptions = [this, &engineRef, &urlString]() { return hadUncaughtExceptions(engineRef, urlString); };
|
filterData.uncaughtExceptions = [this, &engineRef, urlString]() { return hadUncaughtExceptions(engineRef, urlString); };
|
||||||
|
|
||||||
// now get the filter function
|
// now get the filter function
|
||||||
auto global = engine->globalObject();
|
auto global = engine->globalObject();
|
||||||
|
|
Loading…
Reference in a new issue