diff options
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 140fa5af..202a00c7 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -889,7 +889,8 @@ void MainWindow::readyRead(bool finished = false) { } } - output.replace(QRegExp("((?:https?|ftp|ssh)://\\S+)"), "<a href=\"\\1\">\\1</a>"); + output.replace(QRegExp("((?:https?|ftp|ssh)://\\S+)"), + "<a href=\"\\1\">\\1</a>"); output.replace(QRegExp("\n"), "<br />"); if (!ui->textBrowser->toPlainText().isEmpty()) output = ui->textBrowser->toHtml() + output; |