@@ -228,7 +228,7 @@ void XBPSExec::parseXBPSProcessOutput(QString output)
228228
229229 if (!m_textPrinted.contains (target))
230230 {
231- prepareTextToPrint (" Updating repository " + target); // , ectn_DONT_TREAT_URL_LINK);
231+ prepareTextToPrint (" Updating repository " + target, ectn_TREAT_STRING , ectn_DONT_TREAT_URL_LINK);
232232 }
233233
234234 return ;
@@ -294,15 +294,6 @@ void XBPSExec::parseXBPSProcessOutput(QString output)
294294 msg.remove (QRegularExpression (" qt.qpa.xcb.+" ));
295295 msg.remove (QRegularExpression (" qt5ct: using qt5ct plugin" ));
296296
297- // Gksu buggy strings
298- /* msg.remove(QRegularExpression("you should recompile libgtop and dependent applications.+"));
299- msg.remove(QRegularExpression("This libgtop was compiled on.+"));
300- msg.remove(QRegularExpression("If you see strange problems caused by it.+"));
301- msg.remove(QRegularExpression("LibGTop-Server.+"));
302- msg.remove(QRegularExpression("received eof.+"));
303- msg.remove(QRegularExpression("pid [0-9]+"));
304- msg = msg.trimmed();*/
305-
306297 QString order;
307298 int ini = msg.indexOf (QRegularExpression (" \\ (\\ s{0,3}[0-9]{1,4}/[0-9]{1,4}\\ ) " ));
308299
@@ -410,7 +401,13 @@ void XBPSExec::prepareTextToPrint(QString str, TreatString ts, TreatURLLinks tl)
410401 newStr.contains (QRegularExpression (" Running" )) ||
411402 newStr.contains (QRegularExpression (" Looking" )))
412403 {
413- newStr = " <b><font color=\" #4BC413\" >" + newStr + " </font></b>" ; // GREEN
404+ if (newStr.startsWith (" Updating repository" , Qt::CaseInsensitive))
405+ {
406+ // Updating repository
407+ QString target = newStr.mid (20 );
408+ newStr = " <b><font color=\" #4BC413\" >Updating repository</font></b> " + target; // GREEN
409+ }
410+ else newStr = " <b><font color=\" #4BC413\" >" + newStr + " </font></b>" ; // GREEN
414411 }
415412 else if (newStr.contains (QRegularExpression (" warning" )) ||
416413 newStr.contains (QRegularExpression (" downgrading" )) ||
0 commit comments