Skip to content
Permalink
Browse files

Register comparators for QgsDate/DateTimeRange

  • Loading branch information
nyalldawson committed Mar 24, 2021
1 parent 047e13e commit 5b6ff74ab30b119037b8934078dfcdee997625f4
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsapplication.cpp
@@ -261,6 +261,8 @@ void QgsApplication::init( QString profileFolder )
QMetaType::registerComparators<QgsProcessingModelChildDependency>();
QMetaType::registerEqualsComparator<QgsProcessingFeatureSourceDefinition>();
QMetaType::registerEqualsComparator<QgsProperty>();
QMetaType::registerEqualsComparator<QgsDateTimeRange>();
QMetaType::registerEqualsComparator<QgsDateRange>();
qRegisterMetaType<QPainter::CompositionMode>( "QPainter::CompositionMode" );
qRegisterMetaType<QgsDateTimeRange>( "QgsDateTimeRange" );
} );

0 comments on commit 5b6ff74

Please sign in to comment.