Why is their MainWindow:Arguments twice? What does this mean? MainWindow::Arguments MainWindow::arguments() { bool ok1, ok2; float a1 = ui->argument1Input->text().toFloat(&ok1); float a2 = ui->argument2Input->text().toFloat(&ok2); if (!ok1 || !ok2) { QMessageBox messageBox; messageBox.setIconPixmap(QPixmap(":/icon.png")); messageBox.setText("One of your entries is not a valid number."); messageBox.setWindowTitle("Error"); messageBox.exec(); } return Arguments(a1, a2); }
MainWindow::Arguments
MainWindow::arguments()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)