mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
fixed logging in case of changes and errors in the mod list
This commit is contained in:
+7
-4
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user