configure_system: Amend function casing

This commit is contained in:
Lioncash 2018-10-25 16:47:09 -04:00
parent 2347e1b8c5
commit a6addb5332
2 changed files with 6 additions and 6 deletions

View File

@ -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. "

View File

@ -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 UpdateBirthdayComboBox(int birthmonth_index);
void refreshConsoleID(); void RefreshConsoleID();
void PopulateUserList(); void PopulateUserList();
void UpdateCurrentUser(); void UpdateCurrentUser();