Skip to content
Permalink
Browse files

[qt6] Small QRegExp patch

  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 31, 2021
1 parent ba1a411 commit 19ef17090f39b8aaf9e29729e0f504bb238ae900
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgis.cpp
@@ -253,7 +253,10 @@ uint qHash( const QVariant &variant )
return qHash( variant.toDateTime() );
case QVariant::Url:
case QVariant::Locale:
case QVariant::RegularExpression:
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
case QVariant::RegExp:
#endif
return qHash( variant.toString() );
default:
break;

0 comments on commit 19ef170

Please sign in to comment.