Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qt6] Small QRegExp patch
  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 31, 2021
1 parent ba1a411 commit 19ef170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgis.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 19ef170

Please sign in to comment.