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

configure_system: Amend function casing

Lioncash 7 лет назад
Родитель
Сommit
a6addb5332
2 измененных файлов с 6 добавлено и 6 удалено
  1. 4 4
      src/yuzu/configuration/configure_system.cpp
  2. 2 2
      src/yuzu/configuration/configure_system.h

+ 4 - 4
src/yuzu/configuration/configure_system.cpp

@@ -58,9 +58,9 @@ ConfigureSystem::ConfigureSystem(QWidget* parent)
     ui->setupUi(this);
     ui->setupUi(this);
     connect(ui->combo_birthmonth,
     connect(ui->combo_birthmonth,
             static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
             static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
-            &ConfigureSystem::updateBirthdayComboBox);
+            &ConfigureSystem::UpdateBirthdayComboBox);
     connect(ui->button_regenerate_console_id, &QPushButton::clicked, this,
     connect(ui->button_regenerate_console_id, &QPushButton::clicked, this,
-            &ConfigureSystem::refreshConsoleID);
+            &ConfigureSystem::RefreshConsoleID);
 
 
     layout = new QVBoxLayout;
     layout = new QVBoxLayout;
     tree_view = new QTreeView;
     tree_view = new QTreeView;
@@ -180,7 +180,7 @@ void ConfigureSystem::applyConfiguration() {
     Settings::Apply();
     Settings::Apply();
 }
 }
 
 
-void ConfigureSystem::updateBirthdayComboBox(int birthmonth_index) {
+void ConfigureSystem::UpdateBirthdayComboBox(int birthmonth_index) {
     if (birthmonth_index < 0 || birthmonth_index >= 12)
     if (birthmonth_index < 0 || birthmonth_index >= 12)
         return;
         return;
 
 
@@ -205,7 +205,7 @@ void ConfigureSystem::updateBirthdayComboBox(int birthmonth_index) {
     ui->combo_birthday->setCurrentIndex(birthday_index);
     ui->combo_birthday->setCurrentIndex(birthday_index);
 }
 }
 
 
-void ConfigureSystem::refreshConsoleID() {
+void ConfigureSystem::RefreshConsoleID() {
     QMessageBox::StandardButton reply;
     QMessageBox::StandardButton reply;
     QString warning_text = tr("This will replace your current virtual Switch with a new one. "
     QString warning_text = tr("This will replace your current virtual Switch with a new one. "
                               "Your current virtual Switch will not be recoverable. "
                               "Your current virtual Switch will not be recoverable. "

+ 2 - 2
src/yuzu/configuration/configure_system.h

@@ -38,8 +38,8 @@ private:
     void ReadSystemSettings();
     void ReadSystemSettings();
     std::string GetAccountUsername(Service::Account::UUID uuid) const;
     std::string GetAccountUsername(Service::Account::UUID uuid) const;
 
 
-    void updateBirthdayComboBox(int birthmonth_index);
-    void refreshConsoleID();
+    void UpdateBirthdayComboBox(int birthmonth_index);
+    void RefreshConsoleID();
 
 
     void PopulateUserList();
     void PopulateUserList();
     void UpdateCurrentUser();
     void UpdateCurrentUser();