Fix #3259 Use QUrl::fromUserInput to parse a url with correct scheme

Signed-off-by: sohamg <sohamg2@gmail.com>
This commit is contained in:
sohamg 2019-06-13 17:56:19 +05:30 committed by Jonathan White
parent 38524507d5
commit 7c45d4f328

View File

@ -696,7 +696,7 @@ void DatabaseWidget::openUrlForEntry(Entry* entry)
}
}
} else {
QUrl url = QUrl(entry->url());
QUrl url = QUrl::fromUserInput(entry->url());
if (!url.isEmpty()) {
QDesktopServices::openUrl(url);
}