Skip to content

Commit

Permalink
Fixed stupid typo / copy-o
Browse files Browse the repository at this point in the history
  • Loading branch information
annejan committed May 6, 2015
1 parent 5867bcb commit 19df23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ void MainWindow::readyRead(bool finished = false) {
}

output.replace(QRegExp("((http|https|ftp)\\://[a-zA-Z0-9\\-\\.]+\\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\\-\\._\\?\\,\\'/\\\\+&amp;%\\$#\\=~])*)"), "<a href=\"\\1\">\\1</a>");
output.replace(QRegExp("\n )"), "<br />");
output.replace(QRegExp("\n"), "<br />");
if (ui->textBrowser->toPlainText() != "") {
output = ui->textBrowser->toHtml() + output;
}
Expand Down

0 comments on commit 19df23c

Please sign in to comment.