Guess the scheme when opening URLs.

Closes #293
This commit is contained in:
Felix Geyer 2015-07-16 19:52:34 +02:00
parent 719ac64851
commit 2170794d9c

View file

@ -464,9 +464,9 @@ void DatabaseWidget::openUrlForEntry(Entry* entry)
} }
} }
else { else {
QDesktopServices::openUrl(urlString); QUrl url = QUrl::fromUserInput(urlString);
QDesktopServices::openUrl(url);
} }
} }
void DatabaseWidget::createGroup() void DatabaseWidget::createGroup()