| 33 |
|
<< ui->leMinVolumeDistance->text() << ui->leMaxVolumeDistance->text() << ui->leMinOcclusion->text() |
| 34 |
|
<< ui->leTreshold->text(); |
| 35 |
|
|
| 36 |
< |
if(Util::checkEmptySpaces(leContents)){ |
| 37 |
< |
Util::showErrorPopUp("Please fill all fields first!"); |
| 36 |
> |
if(Util::Validation::checkEmptySpaces(leContents)){ |
| 37 |
> |
Util::Dialogs::showError("Please fill all fields first!"); |
| 38 |
|
return false; |
| 39 |
|
} |
| 40 |
|
|
| 41 |
< |
if(Util::checkIfDoubles(leContents)){ |
| 42 |
< |
Util::showErrorPopUp("All fields must contains numbers!"); |
| 41 |
> |
if(Util::Validation::checkIfDoubles(leContents)){ |
| 42 |
> |
Util::Dialogs::showError("All fields must contains numbers!"); |
| 43 |
|
return false; |
| 44 |
|
} |
| 45 |
|
|