summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorChris Bessent <lost.dragonist@gmail.com>2021-01-19 08:41:57 -0700
committerGitHub <noreply@github.com>2021-01-19 08:41:57 -0700
commit838415aa719416eaa778d3cb09669be58941a26e (patch)
tree3983b2a28deac277fa7eb4880773f1f1c05dd3b4 /src/profile.cpp
parent9997412a39208f2f44b31c6f86d0e58e56551572 (diff)
parentaea96365c621ae76a4cc435d8b1e1e5f7e2ab9e7 (diff)
Merge pull request #1374 from LostDragonist/mod_casing
Improve error message about an extra overwrite mod
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index b77a8295..bb3a11e2 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -493,12 +493,8 @@ void Profile::refreshModStatus()
// User has a mod named some variation of "overwrite". Tell them about it.
if (warnAboutOverwrite) {
- QMessageBox::warning(
- nullptr,
- tr("Overwrite mod conflict"),
- tr("At least one mod named \"overwrite\" was detected, disabled, and moved to the lowest priority on the mod list. "
- "You may want to rename this mod and enable it again.")
- );
+ reportError(tr("A mod named \"overwrite\" was detected, disabled, and moved to the highest priority on the mod list. "
+ "You may want to rename this mod and enable it again."));
// also, mark the mod-list as changed
modStatusModified = true;
}