summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h')
-rw-r--r--src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h b/src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h
index 8e4081176a..76cfdacdce 100644
--- a/src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h
+++ b/src/plugins/qmldesigner/components/edit3d/edit3dviewconfig.h
@@ -40,7 +40,7 @@ class Edit3DViewConfig
public:
static QList<QColor> load(const char key[])
{
- QVariant var = DesignerSettings::getValue(key);
+ QVariant var = QmlDesignerPlugin::settings().value(key);
if (!var.isValid())
return {};
@@ -91,7 +91,7 @@ private:
static void saveVariant(const QByteArray &key, const QVariant &colorConfig)
{
- DesignerSettings::setValue(key, colorConfig);
+ QmlDesignerPlugin::settings().insert(key, colorConfig);
}
};