From fcbf978abff040bf3e011109c6acf848c7ec9f48 Mon Sep 17 00:00:00 2001 From: cgonzalez Date: Wed, 19 Oct 2016 10:06:19 -0300 Subject: [PATCH] Update mainwindow.cpp Allow using ssh links --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 65d1e3bfc..b4e0d4f01 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -888,7 +888,7 @@ void MainWindow::readyRead(bool finished = false) { } } - output.replace(QRegExp("((?:https?|ftp)://\\S+)"), "\\1"); + output.replace(QRegExp("((?:https?|ftp|ssh)://\\S+)"), "\\1"); output.replace(QRegExp("\n"), "
"); if (!ui->textBrowser->toPlainText().isEmpty()) output = ui->textBrowser->toHtml() + output;