Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Register comparators for QgsDate/DateTimeRange
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+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" ); |
|
|
} ); |
|
|