changes per CR

This commit is contained in:
humbletim 2020-10-31 14:11:05 -04:00
parent dedf6a6975
commit 5c2a8bd459

View file

@ -158,8 +158,9 @@ public slots:
*/
QScriptValue getScopedSettings(const QString& scope) {
auto engine = QScriptable::engine();
if (!engine)
if (!engine) {
return QScriptValue::NullValue;
}
QString error;
auto cppValue = createScopedSettings(scope, engine, error);
if (!cppValue) {