equal
deleted
inserted
replaced
401 { |
401 { |
402 QMessageBox illegalMsg(parentWidget()); |
402 QMessageBox illegalMsg(parentWidget()); |
403 illegalMsg.setIcon(QMessageBox::Warning); |
403 illegalMsg.setIcon(QMessageBox::Warning); |
404 illegalMsg.setWindowTitle(QMessageBox::tr("Error")); |
404 illegalMsg.setWindowTitle(QMessageBox::tr("Error")); |
405 illegalMsg.setText(QMessageBox::tr("Cannot use the weapon scheme '%1'!").arg(name)); |
405 illegalMsg.setText(QMessageBox::tr("Cannot use the weapon scheme '%1'!").arg(name)); |
|
406 illegalMsg.setTextFormat(Qt::PlainText); |
406 illegalMsg.setWindowModality(Qt::WindowModal); |
407 illegalMsg.setWindowModality(Qt::WindowModal); |
407 illegalMsg.exec(); |
408 illegalMsg.exec(); |
408 } |
409 } |
409 |
410 |
410 int pos = WeaponsName->findText(name); |
411 int pos = WeaponsName->findText(name); |