diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2013-01-02 17:44:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-03 11:32:05 +0100 |
commit | 1342f5da382532d75b381e0dd303cb57827a0d29 (patch) | |
tree | 9dd2b02a03ace54c2befc06ccae901da9f617700 /src/network/ssl/qsslsocket.h | |
parent | 2f365ae7ec07878ed4c3148ab56cd8b1d222f0db (diff) |
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>
Diffstat (limited to 'src/network/ssl/qsslsocket.h')
-rw-r--r-- | src/network/ssl/qsslsocket.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/ssl/qsslsocket.h b/src/network/ssl/qsslsocket.h index 306fb636a6..37f7c484f4 100644 --- a/src/network/ssl/qsslsocket.h +++ b/src/network/ssl/qsslsocket.h @@ -223,10 +223,6 @@ private: QT_END_NAMESPACE -#ifndef QT_NO_SSL -Q_DECLARE_METATYPE(QList<QSslError>) -#endif - QT_END_HEADER #endif |