Fix compile warning on linux with Qt metatype comparison

This commit is contained in:
baldurk
2021-07-01 15:14:54 +01:00
parent 4b740b350e
commit a8d891bc8f
+1 -1
View File
@@ -1055,7 +1055,7 @@ bool RichResourceTextMouseEvent(const QWidget *owner, const QVariant &var, QRect
return true;
}
else if(v.type() == qMetaTypeId<QUrl>())
else if(v.type() == QVariant::Url)
{
QUrl url = v.value<QUrl>();