+ case 7:
+ {
+ // New default changes: ProxyType=3 (no proxy) now means QNetworkProxy::HttpProxy
+ // So we have to change it to ProxyType=2 (QNetworkProxy::NoProxy)
+ const QString proxyType = "ProxyType";
+ if (settings.valueExists(proxyType) && settings.value(proxyType)=="3") {
+ settings.setValue(proxyType, 2);
+ }
+ // Migration complete!
+ return true;
+ }