#include "qtuiapplication.h"
#include <QIcon>
+#include <QDir>
#include <QStringList>
#ifdef HAVE_KDE4
// saved. Exceptions will be noted below.
// NOTE: If you add new upgrade logic here, you MUST ALSO increase VERSION_MINOR_CURRENT in
// migrateSettings()! Otherwise, your upgrade logic won't ever be called.
+ 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;
+ }
case 6:
{
// New default changes: sender colors switched around to Tango-ish theme