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

Comparing s10k/Vago/soundWizard/soundpage5.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 28 | Line 28 | bool SoundPage5::validatePage(){
28                    ui->leMinAngle->text() << ui->leMaxAngle->text() << ui->leMinAttenuation->text() <<
29                    ui->leImpactVelocity->text() << ui->leMinOcclusion->text();
30  
31 <    if(Util::checkEmptySpaces(leContents)){
32 <        Util::showErrorPopUp("Please fill all fields first!");
31 >    if(Util::Validation::checkEmptySpaces(leContents)){
32 >        Util::Dialogs::showError("Please fill all fields first!");
33          return false;
34      }
35  
36 <    if(Util::checkIfDoubles(leContents)){
37 <        Util::showErrorPopUp("All fields must contains numbers!");
36 >    if(Util::Validation::checkIfDoubles(leContents)){
37 >        Util::Dialogs::showError("All fields must contains numbers!");
38          return false;
39      }
40  

Diff Legend

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