diff options
Diffstat (limited to 'src/render/materialsystem/filterkey.cpp')
-rw-r--r-- | src/render/materialsystem/filterkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/materialsystem/filterkey.cpp b/src/render/materialsystem/filterkey.cpp index e6c37b241..c3ed62924 100644 --- a/src/render/materialsystem/filterkey.cpp +++ b/src/render/materialsystem/filterkey.cpp @@ -92,7 +92,7 @@ bool FilterKey::operator ==(const FilterKey &other) // https://codereview.qt-project.org/#/c/204484/ // and adding the following early comparison of the types should give // an equivalent performance gain: - return (other.value().type() == value().type() && + return (other.value().metaType() == value().metaType() && other.name() == name() && other.value() == value()); } |