Fix #3259 Use QUrl::fromUserInput to parse a url with correct scheme
Signed-off-by: sohamg <sohamg2@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user