--- s10k/Vago/bgImageWizard/bgimagepage3.cpp 2017/12/30 13:43:28 1092 +++ s10k/Vago/bgImageWizard/bgimagepage3.cpp 2017/12/30 13:57:32 1093 @@ -51,8 +51,8 @@ void BGImagePage3::on_cbCreateTXMB_toggl void BGImagePage3::on_leLevelId_textChanged(const QString &arg1) { - if(!arg1.isEmpty() && !Util::isStringInteger(arg1)){ - Util::showErrorPopUp("Level id must be a number."); + if(!arg1.isEmpty() && !Util::Validation::isStringInteger(arg1)){ + Util::Dialogs::showError("Level id must be a number."); ui->leLevelId->clear(); return; } @@ -135,12 +135,12 @@ bool BGImagePage3::validatePage(){ QStringList namesList; if(ui->leImageName->text().trimmed().isEmpty()){ - Util::showErrorPopUp("You need to input a name to the image!"); + Util::Dialogs::showError("You need to input a name to the image!"); return false; } if(ui->cbCreateTXMB->isChecked() && ui->leTXMBName->text().trimmed().isEmpty()){ - Util::showErrorPopUp("You need to input a name to the TXMB file!"); + Util::Dialogs::showError("You need to input a name to the TXMB file!"); return false; }