mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-17 14:26:17 +02:00
Replace deprecated qVariantFromValue
This commit is contained in:
parent
50e1399cb5
commit
45a3c89e17
1 changed files with 1 additions and 1 deletions
|
@ -2120,7 +2120,7 @@ void ScriptEngine::updateEntityScriptStatus(const EntityItemID& entityID, const
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant ScriptEngine::cloneEntityScriptDetails(const EntityItemID& entityID) {
|
QVariant ScriptEngine::cloneEntityScriptDetails(const EntityItemID& entityID) {
|
||||||
static const QVariant NULL_VARIANT { qVariantFromValue((QObject*)nullptr) };
|
static const QVariant NULL_VARIANT = QVariant::fromValue(nullptr);
|
||||||
QVariantMap map;
|
QVariantMap map;
|
||||||
if (entityID.isNull()) {
|
if (entityID.isNull()) {
|
||||||
// TODO: find better way to report JS Error across thread/process boundaries
|
// TODO: find better way to report JS Error across thread/process boundaries
|
||||||
|
|
Loading…
Reference in a new issue