mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 16:59:44 -05:00
Use QVariant::toUrl() instead of QVariant::value<QUrl>()
This commit is contained in:
parent
9d106d6bfc
commit
a9fa8915d9
@ -173,7 +173,7 @@ namespace {
|
||||
{
|
||||
QUrl url;
|
||||
if (var.canConvert<QUrl>())
|
||||
url = var.value<QUrl>();
|
||||
url = var.toUrl();
|
||||
return url;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user