| 29 |
|
<< ui->lePitch->text() << ui->leMinPitch->text() << ui->leMaxPitch->text() |
| 30 |
|
<< ui->leWeight->text(); |
| 31 |
|
|
| 32 |
< |
if(Util::checkEmptySpaces(leContents)){ |
| 33 |
< |
Util::showErrorPopUp("Please fill all fields first!"); |
| 32 |
> |
if(Util::Validation::checkEmptySpaces(leContents)){ |
| 33 |
> |
Util::Dialogs::showError("Please fill all fields first!"); |
| 34 |
|
return false; |
| 35 |
|
} |
| 36 |
|
|
| 37 |
< |
if(Util::checkIfDoubles(leContents)){ |
| 38 |
< |
Util::showErrorPopUp("All fields must contains numbers!"); |
| 37 |
> |
if(Util::Validation::checkIfDoubles(leContents)){ |
| 38 |
> |
Util::Dialogs::showError("All fields must contains numbers!"); |
| 39 |
|
return false; |
| 40 |
|
} |
| 41 |
|
|