diff --git a/src/gui/DatabaseWidget.cpp b/src/gui/DatabaseWidget.cpp index 0c4167c6b..55a70b7ab 100644 --- a/src/gui/DatabaseWidget.cpp +++ b/src/gui/DatabaseWidget.cpp @@ -464,9 +464,9 @@ void DatabaseWidget::openUrlForEntry(Entry* entry) } } else { - QDesktopServices::openUrl(urlString); + QUrl url = QUrl::fromUserInput(urlString); + QDesktopServices::openUrl(url); } - } void DatabaseWidget::createGroup()