fixed logging in case of changes and errors in the mod list

This commit is contained in:
Tannin
2015-01-22 19:55:41 +01:00
parent b0fe23a711
commit 855e8bd737
+7 -4
View File
@@ -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
}
}