Open URLs without prefix
This commit is contained in:
parent
ec972d7edc
commit
1cddb7a766
1 changed files with 6 additions and 1 deletions
|
@ -447,10 +447,15 @@ function handleLink(link) {
|
|||
handleTMeLink(link, tMePrefix);
|
||||
} else if (link.indexOf(tMePrefixHttp) === 0) {
|
||||
handleTMeLink(link, tMePrefixHttp);
|
||||
} else {
|
||||
Debug.log("Trying to open URL externally: " + link)
|
||||
if (link.indexOf("://") === -1) {
|
||||
Qt.openUrlExternally("https://" + link)
|
||||
} else {
|
||||
Qt.openUrlExternally(link);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getVideoHeight(videoWidth, videoData) {
|
||||
|
|
Loading…
Reference in a new issue