From a8d891bc8f324acea5dbf4ea1494f2743a51b8ea Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 1 Jul 2021 15:14:54 +0100 Subject: [PATCH] Fix compile warning on linux with Qt metatype comparison --- qrenderdoc/Code/QRDUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/QRDUtils.cpp b/qrenderdoc/Code/QRDUtils.cpp index f78528b25..9af6c70fd 100644 --- a/qrenderdoc/Code/QRDUtils.cpp +++ b/qrenderdoc/Code/QRDUtils.cpp @@ -1055,7 +1055,7 @@ bool RichResourceTextMouseEvent(const QWidget *owner, const QVariant &var, QRect return true; } - else if(v.type() == qMetaTypeId()) + else if(v.type() == QVariant::Url) { QUrl url = v.value();