--- Vago/trunk/Vago/soundWizard/soundpage5.cpp 2016/10/12 21:35:13 1054 +++ s10k/Vago/soundWizard/soundpage5.cpp 2017/12/30 13:57:32 1093 @@ -28,13 +28,13 @@ bool SoundPage5::validatePage(){ ui->leMinAngle->text() << ui->leMaxAngle->text() << ui->leMinAttenuation->text() << ui->leImpactVelocity->text() << ui->leMinOcclusion->text(); - if(Util::checkEmptySpaces(leContents)){ - Util::showErrorPopUp("Please fill all fields first!"); + if(Util::Validation::checkEmptySpaces(leContents)){ + Util::Dialogs::showError("Please fill all fields first!"); return false; } - if(Util::checkIfDoubles(leContents)){ - Util::showErrorPopUp("All fields must contains numbers!"); + if(Util::Validation::checkIfDoubles(leContents)){ + Util::Dialogs::showError("All fields must contains numbers!"); return false; }