mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:40:11 +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) {
|
QScriptValue getScopedSettings(const QString& scope) {
|
||||||
auto engine = QScriptable::engine();
|
auto engine = QScriptable::engine();
|
||||||
if (!engine)
|
if (!engine) {
|
||||||
return QScriptValue::NullValue;
|
return QScriptValue::NullValue;
|
||||||
|
}
|
||||||
QString error;
|
QString error;
|
||||||
auto cppValue = createScopedSettings(scope, engine, error);
|
auto cppValue = createScopedSettings(scope, engine, error);
|
||||||
if (!cppValue) {
|
if (!cppValue) {
|
||||||
|
|
Loading…
Reference in a new issue