mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 08:16:21 +02:00
changes per CR
This commit is contained in:
parent
dedf6a6975
commit
5c2a8bd459
1 changed files with 212 additions and 211 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue