From 3487a91caaa78824ebdfb53c4b7f645119848313 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 11 Jun 2016 16:57:19 +0200 Subject: [PATCH] Changed: Removed account option --- .../client/ryzom_installer/src/configfile.cpp | 2 - .../client/ryzom_installer/src/configfile.h | 1 - .../ryzom_installer/src/profilesdialog.cpp | 3 -- .../client/ryzom_installer/ui/profiles.ui | 43 +++++++------------ 4 files changed, 16 insertions(+), 33 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp index 91877eb9e..d10e227ef 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp @@ -127,7 +127,6 @@ bool CConfigFile::load(const QString &filename) profile.id = settings.value("id").toString(); profile.name = settings.value("name").toString(); - profile.account = settings.value("account").toString(); profile.server = settings.value("server").toString(); profile.executable = settings.value("executable").toString(); profile.arguments = settings.value("arguments").toString(); @@ -216,7 +215,6 @@ bool CConfigFile::save() const settings.setValue("id", profile.id); settings.setValue("name", profile.name); - settings.setValue("account", profile.account); settings.setValue("server", profile.server); settings.setValue("executable", profile.executable); settings.setValue("arguments", profile.arguments); diff --git a/code/ryzom/tools/client/ryzom_installer/src/configfile.h b/code/ryzom/tools/client/ryzom_installer/src/configfile.h index aa3a61f8b..fe2dcb05e 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/configfile.h +++ b/code/ryzom/tools/client/ryzom_installer/src/configfile.h @@ -54,7 +54,6 @@ struct CProfile } QString id; - QString account; QString name; QString server; QString executable; diff --git a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp index d113ab2c2..bc3cf8d76 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profilesdialog.cpp @@ -85,7 +85,6 @@ void CProfilesDialog::displayProfile(int index) bool enabled = index > -1; profileIdLabel->setEnabled(enabled); - accountEdit->setEnabled(enabled); nameEdit->setEnabled(enabled); serverComboBox->setEnabled(enabled); argumentsEdit->setEnabled(enabled); @@ -99,7 +98,6 @@ void CProfilesDialog::displayProfile(int index) // update all widgets with content of profile profileIdLabel->setText(profile.id); - accountEdit->setText(profile.account); nameEdit->setText(profile.name); serverComboBox->setCurrentIndex(m_serversModel->getIndexFromServerID(profile.server)); executablePathLabel->setText(QFileInfo(profile.executable).fileName()); @@ -120,7 +118,6 @@ void CProfilesDialog::saveProfile(int index) CProfile &profile = m_model->getProfiles()[index]; - profile.account = accountEdit->text(); profile.name = nameEdit->text(); profile.server = m_serversModel->getServerIDFromIndex(serverComboBox->currentIndex()); profile.arguments = argumentsEdit->text(); diff --git a/code/ryzom/tools/client/ryzom_installer/ui/profiles.ui b/code/ryzom/tools/client/ryzom_installer/ui/profiles.ui index 1e3e42768..c0c12bab2 100644 --- a/code/ryzom/tools/client/ryzom_installer/ui/profiles.ui +++ b/code/ryzom/tools/client/ryzom_installer/ui/profiles.ui @@ -7,7 +7,7 @@ 0 0 583 - 368 + 348 @@ -81,33 +81,23 @@ - - - Account: - - - - - - - Name: - + - + Server: - + @@ -121,14 +111,14 @@ - + Executable: - + @@ -146,38 +136,38 @@ - + Client version: - + FV 3.0.0 - + Arguments: - + - + Comments: - + @@ -187,14 +177,14 @@ - + Directory: - + @@ -212,14 +202,14 @@ - + Create shortcuts: - + @@ -257,7 +247,6 @@ profilesListView addButton deleteButton - accountEdit nameEdit serverComboBox executableBrowseButton