Просмотр исходного кода

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.
Lioncash 7 лет назад
Родитель
Сommit
3c63cecb96
1 измененных файлов с 5 добавлено и 7 удалено
  1. 5 7
      src/yuzu/configuration/configure_system.h

+ 5 - 7
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;