GUI: Better handling of addon output
This commit is contained in:
parent
06f19fb3a7
commit
4da406baab
|
@ -327,7 +327,7 @@ void CheckThread::parseAddonErrors(QString err, QString tool)
|
||||||
QTextStream in(&err, QIODevice::ReadOnly);
|
QTextStream in(&err, QIODevice::ReadOnly);
|
||||||
while (!in.atEnd()) {
|
while (!in.atEnd()) {
|
||||||
QString line = in.readLine();
|
QString line = in.readLine();
|
||||||
QRegExp r1("\\[([a-zA-Z]?:?[^:]+):([0-9]+)\\][ ][(]([a-z]+)[)]: (.+) \\[([a-zA-Z0-9_\\-\\.]+)\\]");
|
QRegExp r1("\\[([a-zA-Z]?:?[^:]+):([0-9]+)\\]:?[ ][(]([a-z]+)[)]:? (.+) \\[([a-zA-Z0-9_\\-\\.]+)\\]");
|
||||||
if (!r1.exactMatch(line))
|
if (!r1.exactMatch(line))
|
||||||
continue;
|
continue;
|
||||||
const std::string &filename = r1.cap(1).toStdString();
|
const std::string &filename = r1.cap(1).toStdString();
|
||||||
|
|
Loading…
Reference in New Issue