![screenshot 2018-03-06 at 4 11 21 pm](https://user-images.githubusercontent.com/863730/37058653-389cddc0-2159-11e8-9b02-f4cbc5fe30d7.png)
Using 20e3b9a485fd6b23785c5caa49d01ea49fdc8bcf. Should obviously be 9050, not %2.
{
    QSettings settings;
    return settings.setValue("fRestartRequired", fRequired);
}
bool OptionsModel::isRestartRequired() const
{
    QSettings settings;
    return settings.value("fRestartRequired", false).toBool();
}
void OptionsModel::checkAndMigrate()
{
    
    
    QSettings settings;
    static const char strSettingsVersionKey[] = "nSettingsVersion";
    int settingsVersion = settings.contains(strSettingsVersionKey) ? settings.value(strSettingsVersionKey).toInt() : 0;
    if (settingsVersion < CLIENT_VERSION)
    {
        
        
        
        if (settingsVersion < 130000 && settings.contains("nDatabaseCache") && settings.value("nDatabaseCache").toLongLong() == 100)
            settings.setValue("nDatabaseCache", (qint64)nDefaultDbCache);
        settings.setValue(strSettingsVersionKey, CLIENT_VERSION);
    }
}