ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/soundWizard/soundpage3.cpp
(Generate patch)

Comparing s10k/Vago/soundWizard/soundpage3.cpp (file contents):
Revision 1092 by s10k, Sat Dec 30 13:43:28 2017 UTC vs.
Revision 1093 by s10k, Sat Dec 30 13:57:32 2017 UTC

# Line 33 | Line 33 | bool SoundPage3::validatePage(){
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)