- // FIXME remove migration at some point
- // We remove old settings if we find them, since they conflict
-#ifdef Q_WS_MAC
- QSettings mys(QCoreApplication::organizationDomain(), Quassel::buildInfo().clientApplicationName);
-#else
- QSettings mys(QCoreApplication::organizationName(), Quassel::buildInfo().clientApplicationName);
-#endif
- mys.beginGroup("QtUi");
- if(mys.childGroups().contains("Colors")) {
- qDebug() << "Removing obsolete UiStyle settings!";
- mys.endGroup();
- mys.remove("Ui");
- mys.remove("QtUiStyle");
- mys.remove("QtUiStyleNew");
- mys.remove("QtUi/Colors");
- mys.sync();
- }
-