diff ui/mainwindow.cpp @ 844:fa68e5aeeaac

Make links clickable and also change the about info in mainwindow.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 30 Jul 2014 10:44:52 +0200
parents bd33c6585cd0
children d33834129d2a
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Wed Jul 30 10:36:58 2014 +0200
+++ b/ui/mainwindow.cpp	Wed Jul 30 10:44:52 2014 +0200
@@ -485,7 +485,9 @@
     textDesc->setTextFormat(Qt::RichText);
     textDesc->setTextInteractionFlags(
         Qt::TextSelectableByMouse |
-        Qt::TextSelectableByKeyboard);
+        Qt::TextSelectableByKeyboard |
+        Qt::LinksAccessibleByMouse);
+    textDesc->setOpenExternalLinks(true);
 
     infoCenterLayout->addWidget(infoHeaderSeparator);
     infoCenterLayout->addWidget(textDesc);

http://wald.intevation.org/projects/trustbridge/