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

Comparing s10k/Vago/soundWizard/soundpage4.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 29 | Line 29 | bool SoundPage4::validatePage(){
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  

Diff Legend

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