diff options
| author | Philip Kaufmann <[email protected]> | 2012-10-02 13:37:19 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-10-02 18:49:57 +0200 |
| commit | 7bc65ff1083c726391923fddac86e5abc4b0f2db (patch) | |
| tree | d57063fb6b9888e94fcaf03a2e24d4dfbdc53299 /src/qt/optionsmodel.h | |
| parent | Merge branch '2012_09_fixwformat' of github.com:laanwj/bitcoin (diff) | |
| download | discoin-7bc65ff1083c726391923fddac86e5abc4b0f2db.tar.xz discoin-7bc65ff1083c726391923fddac86e5abc4b0f2db.zip | |
move most explicit getters in optionsmodel to header
- is more consistent and saves quite some lines of code
Diffstat (limited to 'src/qt/optionsmodel.h')
| -rw-r--r-- | src/qt/optionsmodel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 34724ad03..2d86a7a9c 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -44,10 +44,10 @@ public: /* Explicit getters */ qint64 getTransactionFee(); - bool getMinimizeToTray(); - bool getMinimizeOnClose(); - int getDisplayUnit(); - bool getDisplayAddresses(); + bool getMinimizeToTray() { return fMinimizeToTray; } + bool getMinimizeOnClose() { return fMinimizeOnClose; } + int getDisplayUnit() { return nDisplayUnit; } + bool getDisplayAddresses() { return bDisplayAddresses; } QString getLanguage() { return language; } private: |