diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-25 16:43:42 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-25 16:43:44 -0400 |
commit | 3c63cecb968f0eab285afc6428c51c9ab3fb67d4 (patch) | |
tree | f7d00841aeca5de9515746e52baab04ed9dc2e64 /src/yuzu | |
parent | e54c9e19f352123335574f2dd63d3db9bbbe4569 (diff) |
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.
Diffstat (limited to 'src/yuzu')
-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: void applyConfiguration(); void setConfiguration(); - void PopulateUserList(); - void UpdateCurrentUser(); +private: + void ReadSystemSettings(); + std::string GetAccountUsername(Service::Account::UUID uuid) const; -public slots: void updateBirthdayComboBox(int birthmonth_index); void refreshConsoleID(); + void PopulateUserList(); + void UpdateCurrentUser(); void SelectUser(const QModelIndex& index); void AddUser(); void RenameUser(); void DeleteUser(); void SetUserImage(); -private: - void ReadSystemSettings(); - std::string GetAccountUsername(Service::Account::UUID uuid) const; - QVBoxLayout* layout; QTreeView* tree_view; QStandardItemModel* item_model; |