summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-02-02 21:42:01 +0100
committerPetr Mrázek <peterix@gmail.com>2015-02-02 21:42:01 +0100
commite25e076d2e9e161701c00085d657ea0695bdbf30 (patch)
tree396fb0a0d03bbbb95395c8fde6c9c90183d25162
parent125ddc5f9385372df5d28e4529e13f2280b111a2 (diff)
downloadMultiMC-e25e076d2e9e161701c00085d657ea0695bdbf30.tar
MultiMC-e25e076d2e9e161701c00085d657ea0695bdbf30.tar.gz
MultiMC-e25e076d2e9e161701c00085d657ea0695bdbf30.tar.lz
MultiMC-e25e076d2e9e161701c00085d657ea0695bdbf30.tar.xz
MultiMC-e25e076d2e9e161701c00085d657ea0695bdbf30.zip
NOISSUE ignore PermGen warnings in log
-rw-r--r--logic/MinecraftProcess.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/logic/MinecraftProcess.cpp b/logic/MinecraftProcess.cpp
index eda50923..2f220f3f 100644
--- a/logic/MinecraftProcess.cpp
+++ b/logic/MinecraftProcess.cpp
@@ -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)