summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-01-22 19:55:41 +0100
committerTannin <devnull@localhost>2015-01-22 19:55:41 +0100
commit855e8bd737c6b7e41c331bd8a2f927800c189b2d (patch)
tree630cb357fbf22527ce16915e4ef57cf363c43e2f /src
parentb0fe23a71188757095b7917db5139a089266c256 (diff)
fixed logging in case of changes and errors in the mod list
Diffstat (limited to 'src')
-rw-r--r--src/profile.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 01d75446..418a4426 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -290,14 +290,17 @@ void Profile::refreshModStatus()
m_ModStatus[modIndex].m_Priority = index++;
}
} else {
- qDebug("mod \"%s\" (profile \"%s\") not found",
- modName.toUtf8().constData(), m_Directory.path().toUtf8().constData());
+ qWarning("no mod state for \"%s\" (profile \"%s\")",
+ qPrintable(modName), m_Directory.path().toUtf8().constData());
// need to rewrite the modlist to fix this
modStatusModified = true;
}
+ } else {
+ qDebug("mod \"%s\" (profile \"%s\") not found",
+ qPrintable(modName), m_Directory.path().toUtf8().constData());
+ // need to rewrite the modlist to fix this
+ modStatusModified = true;
}
- } else {
- // line was empty after trimming
}
}