Apply suggestions from code review

Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
Alexandru Ionut Tripon 2025-11-20 09:27:45 +02:00 committed by Trial97
parent 67a724f990
commit f3495bc4c0
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ void ModFolderPage::removeItems(const QItemSelection& selection)
auto affected = m_model->getAffectedMods(indexes, EnableAction::DISABLE);
if (!affected.isEmpty()) {
auto response = CustomMessageBox::selectable(this, tr("Confirm Disable"),
tr("The mods you are tring to disable are required by %1 mods.\n"
tr("The mods you are trying to delete are required by %1 mods.\n"
"Do you want to disable them?")
.arg(affected.length()),
QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No)