mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
fix: server changable version
This commit is contained in:
@@ -65,21 +65,7 @@ void EntryWidget::on_saveServerButton_clicked()
|
||||
emit sigSaveServerSettings();
|
||||
}
|
||||
|
||||
ServerSettings *EntryWidget::getServerSettings()
|
||||
{
|
||||
ServerSettings *data = new ServerSettings;
|
||||
QString server = ui->serverInputField->text();
|
||||
QString port = ui->portInputField->text();
|
||||
//bool checked = ui->mathModelUsecheckBox->isChecked();
|
||||
|
||||
data->Address = server;
|
||||
data->Port = port;
|
||||
data->mathModelUse = true;
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
void EntryWidget::fillSettings(ServerSettings *settings)
|
||||
void EntryWidget::fillSettings(Settings *settings)
|
||||
{
|
||||
ui->serverInputField->setText(settings->Address);
|
||||
ui->portInputField->setText(settings->Port);
|
||||
|
||||
Reference in New Issue
Block a user