void MainWindow::on_lineEdit_2_textChanged(const QString &arg1){ ui->lineEdit_2->setText(ui->lineEdit_2->text().replace(QLocale().decimalPoint(), QLatin1Char('.')));}