diff options
| author | 2018-10-25 16:43:42 -0400 | |
|---|---|---|
| committer | 2018-10-25 16:43:44 -0400 | |
| commit | 3c63cecb968f0eab285afc6428c51c9ab3fb67d4 (patch) | |
| tree | f7d00841aeca5de9515746e52baab04ed9dc2e64 | |
| parent | Merge pull request #1584 from FearlessTobi/patch-3 (diff) | |
| download | yuzu-3c63cecb968f0eab285afc6428c51c9ab3fb67d4.tar.gz yuzu-3c63cecb968f0eab285afc6428c51c9ab3fb67d4.tar.xz yuzu-3c63cecb968f0eab285afc6428c51c9ab3fb67d4.zip | |
configure_system: Make public slots private
These are only used within this class, so we can make them private to
keep their use contained. This also gets rid of the pre-Qt5 'slot'
identifier, since Qt 5's connection syntax doesn't require a function to
be declared a slot anymore.
| -rw-r--r-- | src/yuzu/configuration/configure_system.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/yuzu/configuration/configure_system.h b/src/yuzu/configuration/configure_system.h index b73e0719c..a30ab8499 100644 --- a/src/yuzu/configuration/configure_system.h +++ b/src/yuzu/configuration/configure_system.h | |||
| @@ -34,23 +34,21 @@ public: | |||
| 34 | void applyConfiguration(); | 34 | void applyConfiguration(); |
| 35 | void setConfiguration(); | 35 | void setConfiguration(); |
| 36 | 36 | ||
| 37 | void PopulateUserList(); | 37 | private: |
| 38 | void UpdateCurrentUser(); | 38 | void ReadSystemSettings(); |
| 39 | std::string GetAccountUsername(Service::Account::UUID uuid) const; | ||
| 39 | 40 | ||
| 40 | public slots: | ||
| 41 | void updateBirthdayComboBox(int birthmonth_index); | 41 | void updateBirthdayComboBox(int birthmonth_index); |
| 42 | void refreshConsoleID(); | 42 | void refreshConsoleID(); |
| 43 | 43 | ||
| 44 | void PopulateUserList(); | ||
| 45 | void UpdateCurrentUser(); | ||
| 44 | void SelectUser(const QModelIndex& index); | 46 | void SelectUser(const QModelIndex& index); |
| 45 | void AddUser(); | 47 | void AddUser(); |
| 46 | void RenameUser(); | 48 | void RenameUser(); |
| 47 | void DeleteUser(); | 49 | void DeleteUser(); |
| 48 | void SetUserImage(); | 50 | void SetUserImage(); |
| 49 | 51 | ||
| 50 | private: | ||
| 51 | void ReadSystemSettings(); | ||
| 52 | std::string GetAccountUsername(Service::Account::UUID uuid) const; | ||
| 53 | |||
| 54 | QVBoxLayout* layout; | 52 | QVBoxLayout* layout; |
| 55 | QTreeView* tree_view; | 53 | QTreeView* tree_view; |
| 56 | QStandardItemModel* item_model; | 54 | QStandardItemModel* item_model; |