diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-11-16 17:37:31 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-11-18 08:16:12 +0100 |
commit | 0689f46cc7f0939c0b52560954a3a210cbad053a (patch) | |
tree | 30573c57db7f03d72c8a475f6cff4c6fd0e163cf /src/qt/optionsmodel.cpp | |
parent | af6e093f062548d850b6eb510240aeb1ff24e2a3 (diff) |
Coincontrol cleanup (e.g. add missing license)
- add missing license headers
- make compatible with Qt5
- enforce header cleanup style
- small code style cleanups
- rename Coin Control dialog into Coin Control Address Selection
- use default font for the windows labels (no monospace)
Diffstat (limited to 'src/qt/optionsmodel.cpp')
-rw-r--r-- | src/qt/optionsmodel.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp index bd08a46803..15a873d2bd 100644 --- a/src/qt/optionsmodel.cpp +++ b/src/qt/optionsmodel.cpp @@ -292,12 +292,11 @@ bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, in case Language: settings.setValue("language", value); break; - case CoinControlFeatures: { + case CoinControlFeatures: fCoinControlFeatures = value.toBool(); settings.setValue("fCoinControlFeatures", fCoinControlFeatures); emit coinControlFeaturesChanged(fCoinControlFeatures); - } - break; + break; default: break; } @@ -312,11 +311,6 @@ qint64 OptionsModel::getTransactionFee() return (qint64) nTransactionFee; } -bool OptionsModel::getCoinControlFeatures() -{ - return fCoinControlFeatures; -} - bool OptionsModel::getProxySettings(QString& proxyIP, quint16 &proxyPort) const { std::string proxy = GetArg("-proxy", ""); |