| 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 |
|
|
| 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 |
|
|
| 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 |
|
|