GUI: Ignore errors with "debug" severity.

GUI doesn't know about "debug" severity. And it is not worth the
trouble to add new category everywhere (icons etc) just for
internal debug messages.
This commit is contained in:
Kimmo Varis 2010-07-12 01:18:16 +03:00
parent c9215e9e44
commit 4a2446d235
1 changed files with 4 additions and 3 deletions

View File

@ -47,6 +47,10 @@ void ThreadResult::reportErr(const ErrorLogger::ErrorMessage &msg)
{
QMutexLocker locker(&mutex);
// GUI doesn't know how to properly handle debug messages so lets ignore them.
if (msg._severity == "debug")
return;
QList<unsigned int> lines;
QStringList files;
@ -64,9 +68,6 @@ void ThreadResult::reportErr(const ErrorLogger::ErrorMessage &msg)
files,
lines,
QString(msg._id.c_str()));
}
QString ThreadResult::GetNextFile()