Added Gui.showDownloads() py function to show the download manager, and allow to click https links in webgui browser

This commit is contained in:
Yorik van Havre
2014-08-31 16:51:51 -03:00
parent 4d58575ddf
commit 7f6a22c787
3 changed files with 15 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ void BrowserView::onLinkClicked (const QUrl & url)
//QString fragment = url. fragment();
if (scheme==QString::fromLatin1("http")) {
if (scheme==QString::fromLatin1("http") || scheme==QString::fromLatin1("https")) {
load(url);
}
// Small trick to force opening a link in an external browser: use exthttp or exthttp