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

Comparing s10k/Vago/windowMessagesWizard/wmsetuppage.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 45 | Line 45 | bool WmSetupPage::validatePage(){
45          stringsToCheck << ui->leWeaponClassName->text();
46      }
47  
48 <    if(Util::checkEmptySpaces(stringsToCheck)){
49 <        Util::showErrorPopUp("You need to fill all fields first!");
48 >    if(Util::Validation::checkEmptySpaces(stringsToCheck)){
49 >        Util::Dialogs::showError("You need to fill all fields first!");
50          return false;
51      }
52  
# Line 61 | Line 61 | void WmSetupPage::on_leLevelId_textChang
61          return;
62      }
63  
64 <    if(!Util::isStringInteger(arg1)){
65 <        Util::showErrorPopUp("The level id inputted is invalid! It must be a number.");
64 >    if(!Util::Validation::isStringInteger(arg1)){
65 >        Util::Dialogs::showError("The level id inputted is invalid! It must be a number.");
66          return;
67      }
68  
# Line 90 | Line 90 | void WmSetupPage::on_lePageNumber_textCh
90          return;
91      }
92  
93 <    if(!Util::isStringInteger(arg1)){
94 <        Util::showErrorPopUp("The page number inputted is invalid! It must be a number.");
93 >    if(!Util::Validation::isStringInteger(arg1)){
94 >        Util::Dialogs::showError("The page number inputted is invalid! It must be a number.");
95          return;
96      }
97  

Diff Legend

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