+ // The user want's to launch a web browser on the source of the URL\r
+ public void sourceUrlClicked() {\r
+ // Make sure we have a valid URL\r
+ if (urlText.text().trim().equals(""))\r
+ return;\r
+ \r
+ String url = urlText.text();\r
+ if (!url.toLowerCase().startsWith(tr("http://")))\r
+ url = tr("http://") +url;\r
+ \r
+ if (!QDesktopServices.openUrl(new QUrl(url))) {\r
+ logger.log(logger.LOW, "Error opening file :" +url);\r
+ }\r
+ }\r
+ \r