Fix proxy settings for current project cannot be changed

parent 1e21abf0
......@@ -90,7 +90,6 @@ ProjectSettings::ProjectSettings(KdenliveDoc *doc, QMap <QString, QString> metad
generate_imageproxy->setChecked(KdenliveSettings::generateimageproxy());
proxy_imageminsize->setValue(KdenliveSettings::proxyimageminsize());
proxyextension = KdenliveSettings::proxyextension();
}
proxy_minsize->setEnabled(generate_proxy->isChecked());
......@@ -98,7 +97,7 @@ ProjectSettings::ProjectSettings(KdenliveDoc *doc, QMap <QString, QString> metad
// load proxy profiles
KConfig conf("encodingprofiles.rc", KConfig::CascadeConfig); //, "appdata");
KConfig conf("encodingprofiles.rc", KConfig::CascadeConfig, QStandardPaths::DataLocation);
KConfigGroup group(&conf, "proxy");
QMap <QString, QString> values = group.entryMap();
QMapIterator<QString, QString> k(values);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment