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:
parent
c9215e9e44
commit
4a2446d235
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue