open links in server message preview externally
authorsheepluva
Tue, 01 Feb 2011 00:24:28 +0100
changeset 4896 972d418057a7
parent 4895 481dfbe69cd2
child 4897 11598e7aa7e6
open links in server message preview externally
QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp	Tue Feb 01 00:27:47 2011 +0100
+++ b/QTfrontend/pages.cpp	Tue Feb 01 00:24:28 2011 +0100
@@ -2024,6 +2024,7 @@
     pageLayout->addWidget(lblPreview, 4, 0);
 
     tb = new QTextBrowser(this);
+    tb->setOpenExternalLinks(true);
     pageLayout->addWidget(tb, 4, 1, 1, 2);
     connect(leServerMessageNew, SIGNAL(textEdited(const QString &)), tb, SLOT(setHtml(const QString &)));
     connect(leServerMessageOld, SIGNAL(textEdited(const QString &)), tb, SLOT(setHtml(const QString &)));