diff options
| author | 2018-10-23 21:46:33 -0400 | |
|---|---|---|
| committer | 2018-10-23 21:46:49 -0400 | |
| commit | 6f5bede402251196ceeeceb6517dab07daa11463 (patch) | |
| tree | 72b92b75695a69d62850677323e6a703654434e8 /src | |
| parent | Merge pull request #1551 from ogniK5377/improved-svcbreak (diff) | |
| download | yuzu-6f5bede402251196ceeeceb6517dab07daa11463.tar.gz yuzu-6f5bede402251196ceeeceb6517dab07daa11463.tar.xz yuzu-6f5bede402251196ceeeceb6517dab07daa11463.zip | |
yuzu/configuration/config: Reorganize member variable and function layout
Makes the class layout consistent with the others.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/config.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h index cbf745ea2..a1d0fbe7e 100644 --- a/src/yuzu/configuration/config.h +++ b/src/yuzu/configuration/config.h | |||
| @@ -12,12 +12,6 @@ | |||
| 12 | class QSettings; | 12 | class QSettings; |
| 13 | 13 | ||
| 14 | class Config { | 14 | class Config { |
| 15 | QSettings* qt_config; | ||
| 16 | std::string qt_config_loc; | ||
| 17 | |||
| 18 | void ReadValues(); | ||
| 19 | void SaveValues(); | ||
| 20 | |||
| 21 | public: | 15 | public: |
| 22 | Config(); | 16 | Config(); |
| 23 | ~Config(); | 17 | ~Config(); |
| @@ -27,4 +21,11 @@ public: | |||
| 27 | 21 | ||
| 28 | static const std::array<int, Settings::NativeButton::NumButtons> default_buttons; | 22 | static const std::array<int, Settings::NativeButton::NumButtons> default_buttons; |
| 29 | static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs; | 23 | static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs; |
| 24 | |||
| 25 | private: | ||
| 26 | void ReadValues(); | ||
| 27 | void SaveValues(); | ||
| 28 | |||
| 29 | QSettings* qt_config; | ||
| 30 | std::string qt_config_loc; | ||
| 30 | }; | 31 | }; |