|
1 | | -#include "optionsmodel.h" |
| 1 | +#include "optionsmodel.h" |
2 | 2 |
|
3 | 3 | #include "bitcoinunits.h" |
4 | 4 | #include "init.h" |
@@ -63,8 +63,6 @@ void OptionsModel::Init() |
63 | 63 | SoftSetBoolArg("-upnp", settings.value("fUseUPnP").toBool()); |
64 | 64 | if (settings.contains("addrProxy") && settings.value("fUseProxy").toBool()) |
65 | 65 | SoftSetArg("-proxy", settings.value("addrProxy").toString().toStdString()); |
66 | | - if (settings.contains("fMinimizeCoinAge")) |
67 | | - SoftSetBoolArg("-minimizecoinage", settings.value("fMinimizeCoinAge").toBool()); |
68 | 66 | if (!language.isEmpty()) |
69 | 67 | SoftSetArg("-lang", language.toStdString()); |
70 | 68 |
|
@@ -124,8 +122,6 @@ QVariant OptionsModel::data(const QModelIndex & index, int role) const |
124 | 122 | return QVariant(nDarksendRounds); |
125 | 123 | case AnonymizeSyndicateAmount: |
126 | 124 | return QVariant(nAnonymizeSyndicateAmount); |
127 | | - case MinimizeCoinAge: |
128 | | - return settings.value("fMinimizeCoinAge", GetBoolArg("-minimizecoinage", false)); |
129 | 125 | case UseBlackTheme: |
130 | 126 | return QVariant(fUseBlackTheme); |
131 | 127 | default: |
@@ -207,10 +203,6 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in |
207 | 203 | emit coinControlFeaturesChanged(fCoinControlFeatures); |
208 | 204 | } |
209 | 205 | break; |
210 | | - case MinimizeCoinAge: |
211 | | - fMinimizeCoinAge = value.toBool(); |
212 | | - settings.setValue("fMinimizeCoinAge", fMinimizeCoinAge); |
213 | | - break; |
214 | 206 | case UseBlackTheme: |
215 | 207 | fUseBlackTheme = value.toBool(); |
216 | 208 | settings.setValue("fUseBlackTheme", fUseBlackTheme); |
|
0 commit comments