Skip to content

Commit 857bbe1

Browse files
committed
Register metatype for QgsAuthManager::MessageLevel to avoid qt warnings
1 parent 87f5c0c commit 857bbe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/qgsapplication.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ void QgsApplication::init( QString profileFolder )
200200
qRegisterMetaType<QgsLayoutRenderContext::Flags>( "QgsLayoutRenderContext::Flags" );
201201
qRegisterMetaType<QgsStyle::StyleEntity>( "QgsStyle::StyleEntity" );
202202
qRegisterMetaType<QgsCoordinateReferenceSystem>( "QgsCoordinateReferenceSystem" );
203+
qRegisterMetaType<QgsAuthManager::MessageLevel>( "QgsAuthManager::MessageLevel" );
203204

204205
( void ) resolvePkgPath();
205206

0 commit comments

Comments
 (0)