mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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;
|
QUrl url;
|
||||||
if (var.canConvert<QUrl>())
|
if (var.canConvert<QUrl>())
|
||||||
url = var.value<QUrl>();
|
url = var.toUrl();
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user