Move the Q_DECLARE_METATYPE for QList<QSslError> to qsslerror.h
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 2 Jan 2013 16:44:17 +0000 (17:44 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 3 Jan 2013 10:32:05 +0000 (11:32 +0100)
commit1342f5da382532d75b381e0dd303cb57827a0d29
tree9dd2b02a03ace54c2befc06ccae901da9f617700
parent2f365ae7ec07878ed4c3148ab56cd8b1d222f0db
Move the Q_DECLARE_METATYPE for QList<QSslError> to qsslerror.h

Otherwise it is possible to assert if

 qRegisterMetaType<QList<QSslError> >("QList<QSslError>")

is called in a TU which does not include the Q_DECLARE_METATYPE
invocation.

Change-Id: Ice1ffbb0f8d0a745d2bffc8b4e13ca31621e8ca4
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
src/network/ssl/qsslerror.h
src/network/ssl/qsslsocket.h