SpecMsgBox в процессе исправления

This commit is contained in:
2025-11-28 21:01:33 +03:00
parent 8ad6d06f18
commit fb493aca9f
17 changed files with 169 additions and 60 deletions

View File

@@ -114,7 +114,7 @@ void DialogVersionControl::sendCopyEmit(QString newName)
if (selectedVersion == nullptr)
{
QString text = tr("Version not selected");
SpecialMessageBox(this, SpecialMessageBox::TypeSpecMsgBox::warningClose, text).exec();
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
return;
}
@@ -127,7 +127,7 @@ void DialogVersionControl::on_createDuplicateButton_clicked()
if (selectedVersion == nullptr)
{
QString text = tr("Version not selected");
SpecialMessageBox(this, SpecialMessageBox::TypeSpecMsgBox::warningClose, text).exec();
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
return;
}
@@ -160,7 +160,7 @@ void DialogVersionControl::on_deleteVersionButton_clicked()
if (selectedVersion == nullptr)
{
QString text = tr("Version not selected");
SpecialMessageBox(this, SpecialMessageBox::TypeSpecMsgBox::warningClose, text).exec();
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
return;
}
@@ -172,7 +172,7 @@ void DialogVersionControl::on_switchServerVersionButton_clicked()
if (selectedVersion == nullptr)
{
QString text = tr("Version not selected");
SpecialMessageBox(this, SpecialMessageBox::TypeSpecMsgBox::warningClose, text).exec();
SpecMsgBox(this, SpecMsgBox::TypeSpecMsgBox::warningClose, text).exec();
return;
}