diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-03-14 07:22:59 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-03-14 07:22:59 +0100 |
| commit | b40bdd6532bdba3d157c8a2dd4661ee540a6fbb4 (patch) | |
| tree | de75cbe6c566b065f620b72cca5638fb5fe35d8b /src/qt/optionsmodel.h | |
| parent | Merge pull request #3849 from cozz/cozz2 (diff) | |
| download | discoin-b40bdd6532bdba3d157c8a2dd4661ee540a6fbb4.tar.xz discoin-b40bdd6532bdba3d157c8a2dd4661ee540a6fbb4.zip | |
qt: Show also value for options overridden on command line
Currently only the name of the option is shown for GUI options
overridden by command line (or configuration file). This commit
adds the value of the options as well, which is useful for
troubleshooting.
Diffstat (limited to 'src/qt/optionsmodel.h')
| -rw-r--r-- | src/qt/optionsmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index a3487ddd2..ece5ef78a 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -75,6 +75,9 @@ private: /* settings that were overriden by command-line */ QString strOverriddenByCommandLine; + /// Add option to list of GUI options overridden through command line/config file + void addOverriddenOption(const std::string &option); + signals: void displayUnitChanged(int unit); void transactionFeeChanged(qint64); |