triage: better handling of daca@home results
This commit is contained in:
parent
0160f80ffe
commit
33027dc10b
|
@ -110,7 +110,7 @@ void MainWindow::showResult(QListWidgetItem *item)
|
||||||
return;
|
return;
|
||||||
const QString url = lines[0];
|
const QString url = lines[0];
|
||||||
QString msg = lines[1];
|
QString msg = lines[1];
|
||||||
if (msg.startsWith("head ") || msg.startsWith("1.84 "))
|
if (QRegExp("^(head|1.[0-9][0-9]) .*").exactMatch(msg))
|
||||||
msg = msg.mid(5);
|
msg = msg.mid(5);
|
||||||
const QString archiveName = url.mid(url.lastIndexOf("/") + 1);
|
const QString archiveName = url.mid(url.lastIndexOf("/") + 1);
|
||||||
const int pos1 = msg.indexOf(":");
|
const int pos1 = msg.indexOf(":");
|
||||||
|
|
Loading…
Reference in New Issue