NOISSUE ignore PermGen warnings in log

This commit is contained in:
Petr Mrázek 2015-02-02 21:42:01 +01:00
parent 125ddc5f93
commit e25e076d2e

View File

@ -225,6 +225,12 @@ void MinecraftProcess::logOutput(QString line, MessageLevel::Enum defaultLevel,
{
MessageLevel::Enum level = defaultLevel;
//FIXME: make more flexible in the future
if(line.contains("ignoring option PermSize"))
{
return;
}
// Level prefix
int endmark = line.indexOf("]!");
if (line.startsWith("!![") && endmark != -1)